diff options
| author | Remi Collet <remi@remirepo.net> | 2026-05-16 08:35:23 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-05-16 08:35:23 +0200 |
| commit | dc9150dc727de505e06a2cd5167f1a16c19e6a27 (patch) | |
| tree | b66cce45e5cf72fbc2ad5651d3d435609e1b15c6 /REFLECTION | |
new package
Diffstat (limited to 'REFLECTION')
| -rw-r--r-- | REFLECTION | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..7946c0f --- /dev/null +++ b/REFLECTION @@ -0,0 +1,62 @@ +Extension [ <persistent> extension #83 fastjson version 0.2.1 ] { + + - Constants [7] { + Constant [ <persistent> int FASTJSON_ERROR_NONE ] { 0 } + Constant [ <persistent> int FASTJSON_ERROR_DEPTH ] { 1 } + Constant [ <persistent> int FASTJSON_ERROR_SYNTAX ] { 4 } + Constant [ <persistent> int FASTJSON_ERROR_UTF8 ] { 5 } + Constant [ <persistent> int FASTJSON_ERROR_RECURSION ] { 6 } + Constant [ <persistent> int FASTJSON_ERROR_INF_OR_NAN ] { 7 } + Constant [ <persistent> int FASTJSON_ERROR_UNSUPPORTED_TYPE ] { 8 } + } + + - Functions { + Function [ <internal:fastjson> function fastjson_version ] { + + - Parameters [0] { + } + - Return [ string ] + } + Function [ <internal:fastjson> function fastjson_encode ] { + + - Parameters [3] { + Parameter #0 [ <required> mixed $value ] + Parameter #1 [ <optional> int $flags = 0 ] + Parameter #2 [ <optional> int $depth = 512 ] + } + - Return [ string|false ] + } + Function [ <internal:fastjson> function fastjson_decode ] { + + - Parameters [4] { + Parameter #0 [ <required> string $json ] + Parameter #1 [ <optional> ?bool $associative = null ] + Parameter #2 [ <optional> int $depth = 512 ] + Parameter #3 [ <optional> int $flags = 0 ] + } + - Return [ mixed ] + } + Function [ <internal:fastjson> function fastjson_validate ] { + + - Parameters [3] { + Parameter #0 [ <required> string $json ] + Parameter #1 [ <optional> int $depth = 512 ] + Parameter #2 [ <optional> int $flags = 0 ] + } + - Return [ bool ] + } + Function [ <internal:fastjson> function fastjson_last_error ] { + + - Parameters [0] { + } + - Return [ int ] + } + Function [ <internal:fastjson> function fastjson_last_error_msg ] { + + - Parameters [0] { + } + - Return [ string ] + } + } +} + |
