« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 15 for Simdjson (0.002 sec.)
定義済み定数 | PHP 8.3 12313
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 SIMDJSON_ERR_CAPACITY ( int ) This parser can't support a document that big. ... Thrown when parsing a JSON string that is over 4GiB long. SIMDJSON_ERR_TAPE_ERROR ( int ) The JSON document has an improper structure: missing or superfluous commas, braces, missing keys, e ... tc. SIMDJSON_ERR_DEPTH_ERROR ( int ) The JSON document was too deep (too many nested objects and arrays) SIMDJSON_ERR_STRING_ERROR ( in ... t ) Problem while parsing a string SIMDJSON_ERR_T_ATOM_ERROR ( int ) Problem while parsing an atom starting with the letter 't' SIMDJSON_ERR_F_ATOM_ERROR ( int ) Prob ...
https://man.mtool.work/php/8.3/simdjson.constants.html
simdjson_decode — Decodes a JSON string | PHP 8.3 10763
simdjson_decode (PECL simdjson >= 2.0.0) simdjson_decode — Decodes a JSON string 説明 function simdjson_decode ( string $json , bool $associative = false , int $depth = 512 ): mixed Takes a JSON encoded string and converts it into a PHP val ... type. Values true , false and null are returned as true , false and null respectively. エラー / 例外 If json is invalid, a SimdJsonException is thrown as of PECL simdjson 2.1.0, while previously, a RuntimeException was thrown. If depth is outside the all ... owed range, a SimdJsonValueError is thrown as of PECL simdjson 3.0.0, while previously, an error of level E_WARNING was raised. 例 例1 simdjson_d ... ecode() examples <?php $json = '{"a":1,"b":2,"c":3}' ; var_dump ( simdjson_decode ( $json )); var_dump ( simdjson_decode ( $json , true )); ?> 上の例の出力は以下となります。 object(stdClass)#1 (3) ...
https://man.mtool.work/php/8.3/function.simdjson-decode.html
Simdjson | PHP 8.3 10693
Simdjson はじめに Provides faster JSON decoding through simdjson bindings for PHP (Single Instruction, Multiple Data) インストール/設定 インストール手順 定義済み定数 Simdjson 関数 simdjson_decode — Decodes a JSON string simdjson_is_valid — ... Check if a JSON string is valid simdjson_key_count — Returns the value at a JSON pointer. simdjson_key_exists — Check if the JSON contains the value referred to by ... a JSON pointer. simdjson_key_value — Decodes the value of a JSON string located at the requested JSON pointer. SimdJsonException — The SimdJsonExce ... ption class SimdJsonValueError — The SimdJsonValueError class ...
https://man.mtool.work/php/8.3/book.simdjson.html
Simdjson 関数 | PHP 8.3 9996
Simdjson 関数 目次 simdjson_decode — Decodes a JSON string simdjson_is_valid — Check if a JSON string is valid simdjson_key_count — Returns the value at a JSON pointer. simdjson_key_exists — Check if the JSON contains the value referred to ... by a JSON pointer. simdjson_key_value — Decodes the value of a JSON string located at the requested JSON pointer. ...
https://man.mtool.work/php/8.3/ref.simdjson.html
simdjson_is_valid — Check if a JSON string is valid | PHP 8.3 9979
simdjson_is_valid (PECL simdjson >= 2.0.0) simdjson_is_valid — Check if a JSON string is valid 説明 function simdjson_is_valid ( string $json , int $depth = 512 ): bool Takes a JSON encoded string and returns true if it is valid. パラメータ ... tation. 戻り値 Returns true if json is a valid JSON string, false otherwise. エラー / 例外 If json is longer than 4 GiB, a SimdJsonException is thrown as of PECL simdjson 2.1.0, while previously, a RuntimeException was thrown. If depth is outside the all ... owed range, a SimdJsonValueError is thrown as of PECL simdjson 3.0.0, while previously, an error of level E_WARNING was raised. 例 例1 simdjson_d ... ecode() examples <?php $json = '{"a":1,"b":2,"c":3}' ; $invalidJson = '{"a":1,"b":2,"c":' ; var_dump ( simdjson_is_valid ( $json )); var_dump ( simdjson_is_valid ( $invalidJson )); ?> 上の例の出力は以下となります。 bool(true) bool(fal ...
https://man.mtool.work/php/8.3/function.simdjson-is-valid.html
The SimdJsonException class | PHP 8.3 9665
The SimdJsonException class (PECL simdjson >= 2.1.0) はじめに Exception thrown if simdjson_decode() , simdjson_key_count() , simdjson_key_exists() , or simdjson_key_value() . For possible values see the simdjson error codes constants. クラス ... 概要 class SimdJsonException extends RuntimeException { /* 継承したプロパティ */ protected string $ message = "" ; private string $ string = " ...
https://man.mtool.work/php/8.3/class.simdjsonexception.html
simdjson_key_value — Decodes the value of a JSON string located at the requeste... 9073
simdjson_key_value (PECL simdjson >= 2.0.0) simdjson_key_value — Decodes the value of a JSON string located at the requested JSON pointer. 説明 function simdjson_key_value ( string $json , string $key , bool $associative = false , int $dept ... as true , false and null respectively. エラー / 例外 If json or key is invalid, or key could not be found within json , a SimdJsonException is thrown as of PECL simdjson 2.1.0, while previously, a RuntimeException was thrown. If depth is outside the all ... owed range, a SimdJsonValueError is thrown as of PECL simdjson 3.0.0, while previously, an error of level E_WARNING was raised. 参考 json_encode( ... ) - 値を JSON 形式にして返す simdjson_decode() - Decodes a JSON string 他のマニュアルの関連ページ Python json DuckDB Installing and Loading the JSON Extension D ...
https://man.mtool.work/php/8.3/function.simdjson-key-value.html
simdjson_key_count — Returns the value at a JSON pointer. | PHP 8.3 8255
simdjson_key_count (PECL simdjson >= 2.0.0) simdjson_key_count — Returns the value at a JSON pointer. 説明 function simdjson_key_count ( string $json , string $key , int $depth = 512 , bool $throw_if_uncountable = false ): int Count the num ... and will increase the recursion depth, unlike the current json_decode() implementation. throw_if_uncountable When true, a SimdJsonException will be thrown instead of returning 0 when the value the JSON pointer points to is neither an object nor an array ...
https://man.mtool.work/php/8.3/function.simdjson-key-count.html
simdjson_key_exists — Check if the JSON contains the value referred to by a JSO... 8220
simdjson_key_exists (PECL simdjson >= 2.0.0) simdjson_key_exists — Check if the JSON contains the value referred to by a JSON pointer. 説明 function simdjson_key_exists ( string $json , string $key , int $depth = ? ): bool Count the number ... and will increase the recursion depth, unlike the current json_decode() implementation. throw_if_uncountable When true, a SimdJsonException will be thrown instead of returning 0 when the value the JSON pointer points to is neither an object nor an array ...
https://man.mtool.work/php/8.3/function.simdjson-key-exists.html
The SimdJsonValueError class | PHP 8.3 7366
The SimdJsonValueError class (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 po ... sitive or the $depth is too large. クラス概要 class SimdJsonValueError extends ValueError { /* 継承したプロパティ */ protected string $ message = "" ; private string $ string = "" ; p ... public function Error::__toString (): string private function Error::__clone (): void } 変更履歴 バージョン 説明 PHP 8.0.0 SimdJsonValueError extends ValueError now instead of Error . 他のマニュアルの関連ページ Vim vim9class ...
https://man.mtool.work/php/8.3/class.simdjsonvalueerror.html
PREV 1 2 NEXT