Results of 1 - 10 of about 47 for depth (0.001 sec.)
- XML エレメント構造の例 | PHP 8.3 11522
- XML エレメント構造の例 この最初の例は、あるドキュメント中のstart エレメントの構造をイン デントを付けて表示します。 例1 XML エレメント構造を表示 <?php $file = "examples/book.xml" ; $depth = 0 ; function startElement ( $parser , $name , $attr
... s ) { global $depth ; for ( $i = 0 ; $i < $depth ; $i ++) { echo " " ; } echo " $name \n" ; $depth ++; } function endElement ( $parser , $name ... ) { global $depth ; $depth --; } $xml_parser = xml_parser_create (); xml_set_element_handler ( $xml_parser , "startElement" , "endElement" ) ...
-
https://man.mtool.work/php/8.3/example.xml-structure.html
- simdjson_is_valid — Check if a JSON string is valid | PHP 8.3 11111
- 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. パラメータ
... coded strings. This function validates inputs which json_decode() can decode, provided that they are less than 4 GiB long. depth Maximum nesting depth of the structure being validated. The value must be greater than 0 , and less than or equal to 21474 ... 83647 . Callers should use reasonably small values, because larger depths require more buffer space and will increase the recursion depth, unlike the current json_decode() implementation. 戻り値 ... r 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 allowed range, a SimdJsonValueError is thrown as of PECL simdjson 3.0.0, while previously, an error of leve ...
-
https://man.mtool.work/php/8.3/function.simdjson-is-valid.html
- simdjson_key_value — Decodes the value of a JSON string located at the requeste... 10275
- 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 $depth
... When true , JSON objects will be returned as associative array s; when false , JSON objects will be returned as object s. depth Maximum nesting depth of the structure being decoded. The value must be greater than 0 , and less than or equal to 2147483 ... 647 . Callers should use reasonably small values, because larger depths require more buffer space and will increase the recursion depth, unlike the current json_decode() implementation. 戻り値 ... within json , a SimdJsonException is thrown as of PECL simdjson 2.1.0, while previously, a RuntimeException was thrown. If depth is outside the allowed range, a SimdJsonValueError is thrown as of PECL simdjson 3.0.0, while previously, an error of leve ...
-
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 10032
- 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
... ct/array found at the requested JSON pointer. パラメータ json The json string being queried. key The JSON pointer string . depth Maximum nesting depth of the structure being validated. The value must be greater than 0 , and less than or equal to 21474 ... 83647 . Callers should use reasonably small values, because larger depths require more buffer space and will increase the recursion depth, unlike the current json_decode() implementation. throw_i ...
-
https://man.mtool.work/php/8.3/function.simdjson-key-count.html
- クラスを使ってXMLをパースする | PHP 8.3 9956
- クラスを使ってXMLをパースする この例は、どのようにクラスをハンドラと一緒に使うかを示しています。 例1 Show XML Element Structure <?php $file = "examples/book.xml" ; class CustomXMLParser { private $fp ; private $parser ; private $depth = 0 ;
... parser , self :: cdata (...)); } private function startElement ( $parser , $name , $attrs ) { for ( $i = 0 ; $i < $this -> depth ; $i ++) { echo " " ; } echo " $name \n" ; $this -> depth ++; } private function endElement ( $parser , $name ) { $this -> ... depth --; } private function cdata ( $parse , $cdata ) { if ( trim ( $cdata ) === '' ) { return; } for ( $i = 0 ; $i < $this -> ...
-
https://man.mtool.work/php/8.3/example.xml-parsing-with-class.html
- simdjson_key_exists — Check if the JSON contains the value referred to by a JSO... 9956
- 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
... ct/array found at the requested JSON pointer. パラメータ json The json string being queried. key The JSON pointer string . depth Maximum nesting depth of the structure being validated. The value must be greater than 0 , and less than or equal to 21474 ... 83647 . Callers should use reasonably small values, because larger depths require more buffer space and will increase the recursion depth, unlike the current json_decode() implementation. throw_i ...
-
https://man.mtool.work/php/8.3/function.simdjson-key-exists.html
- simdjson_decode — Decodes a JSON string | PHP 8.3 9865
- 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
... When true , JSON objects will be returned as associative array s; when false , JSON objects will be returned as object s. depth Maximum nesting depth of the structure being decoded. The value must be greater than 0 , and less than or equal to 2147483 ... 647 . Callers should use reasonably small values, because larger depths require more buffer space and will increase the recursion depth, unlike the current json_decode() implementation. 戻り値 ... n is invalid, a SimdJsonException is thrown as of PECL simdjson 2.1.0, while previously, a RuntimeException was thrown. If depth is outside the allowed range, a SimdJsonValueError is thrown as of PECL simdjson 3.0.0, while previously, an error of leve ...
-
https://man.mtool.work/php/8.3/function.simdjson-decode.html
- Ev::depth — 再帰の深さを返す | PHP 8.3 9530
- Ev::depth (PECL ev >= 0.2.0) Ev::depth — 再帰の深さを返す 説明 final public static function Ev::depth (): int Ev::run() に入った回数から Ev::run() を正常終了した回数を引いた結果、 つまり、再帰の深さを返します。 Ev::run() の外部では、この数は
... 別スレッドから呼び出されている) 場合は、もっと大きな数になります。 パラメータ この関数にはパラメータはありません。 戻り値 ev_depth() は、デフォルトのループの再帰の深さを返します。 参考 Ev::iteration() - デフォルトのイベントループが新しいイベントをポーリ ...
-
https://man.mtool.work/php/8.3/ev.depth.html
- Gmagick::getquantumdepth — Gmagick quantum depth を返す | PHP 8.3 9530
- Gmagick::getquantumdepth (PECL gmagick >= Unknown) Gmagick::getquantumdepth — Gmagick quantum depth を返す 説明 public function Gmagick::getquantumdepth (): array Gmagick quantum depth を文字列で返します。 パラメータ この関数にはパラメータは
... ありません。 戻り値 Gmagick quantum depth を文字列で返します。 エラー / 例外 エラー時に GmagickException をスローします。 他のマニュアルの関連ページ Linux JM sched_ ...
-
https://man.mtool.work/php/8.3/gmagick.getquantumdepth.html
- Imagick::setImageDepth — 画像の深度を設定する | PHP 8.3 8466
- Imagick::setImageDepth (PECL imagick 2, PECL imagick 3) Imagick::setImageDepth — 画像の深度を設定する 説明 public function Imagick::setImageDepth ( int $depth ): bool 画像の深度を設定します。 パラメータ depth 戻り値 成功した場合に true を返
...
-
https://man.mtool.work/php/8.3/imagick.setimagedepth.html