php8.5
Home/ Manual/ reference / simdjson/ The SimdJsonValueError class

The SimdJsonValueError class

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.

Intro

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.

Class synopsis

class SimdJsonValueError { }

Changelog

VersionDescription
PHP 8.0.0SimdJsonValueError extends ValueError now instead of Error.

Source: reference/simdjson/simdjsonvalueerror.xml · from the official PHP manual (php/doc-en)