simdjson_php
simdjson_php copied to clipboard
simdjson_php bindings for the simdjson project. https://github.com/lemire/simdjson
CircleCI was enabled this year, but fails because there's no configuration file
With display_errors=stderr and error_reporting=E_ALL, there is still no reported error. simdjson should probably check the `error` result for errors specifically caused by recursion depth and emit a notice ```php php...
Update PHP_SIMDJSON_VERSION Related to #26
Could you create RFC to maybe implement this into PHP? The speed imporovement is impressive and would improve PHP itself. https://wiki.php.net/rfc
Update
```c /** ... * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. * @return An element pointing at the root of the document, or an...
```php // namespace goes here /** * JSON decoder */ final class Decoder { private static $simdjsonEnabled = false; public static function setAllowSimdjson(bool $allow): void { self::$simdjsonEnabled = $allow &&...
This may or may not be difficult with the dom parser. Future simdjson C releases may make this easier but this functionality might not be planned for arbitrary-precision *integers* (only...
Closes #80 - simdjson_is_valid() and other PHP functions would previously return false when out of memory - Related to #60 - other php apis (using emalloc instead) will also emit...