array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'class.simdjsonvalueerror.php', 1 => 'SimdJsonValueError', ), 'up' => array ( 0 => 'book.simdjson.php', 1 => 'Simdjson', ), 'prev' => array ( 0 => 'class.simdjsonexception.php', 1 => 'SimdJsonException', ), 'next' => array ( 0 => 'book.lua.php', 1 => 'Lua', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/simdjson/simdjsonvalueerror.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL simdjson >= 3.0.0)
A SimdJsonValueError is thrown when the type of an argument to a function from simdjson is correct but the value of it is incorrect. E.g. when the JSON decoding $depth is not positive or the $depth is too large.
Version | Description |
---|---|
PHP 8.0.0 | SimdJsonValueError extends ValueError now instead of Error. |