summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-06-12 08:00:57 +0200
committerRemi Collet <remi@php.net>2026-06-12 08:00:57 +0200
commitc50e3a9a24392c1b53d25eb6a6dfd13fd7d5ecc0 (patch)
treebd98f5a2f0e38fc12041ccbd1c67dca9c8240aa4 /REFLECTION
parent01c77362ae566b1cba9556de4cec580187b13f56 (diff)
update to 0.4.0HEADmaster
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION52
1 files changed, 50 insertions, 2 deletions
diff --git a/REFLECTION b/REFLECTION
index 4e5af15..d86f3db 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,6 +1,10 @@
-Extension [ <persistent> extension #84 fastjson version 0.3.0 ] {
+Extension [ <persistent> extension #84 fastjson version 0.4.0 ] {
- - Constants [7] {
+ - Dependencies {
+ Dependency [ json (Optional) ]
+ }
+
+ - Constants [9] {
Constant [ <persistent> int FASTJSON_ERROR_NONE ] { 0 }
Constant [ <persistent> int FASTJSON_ERROR_DEPTH ] { 1 }
Constant [ <persistent> int FASTJSON_ERROR_SYNTAX ] { 4 }
@@ -8,6 +12,8 @@ Extension [ <persistent> extension #84 fastjson version 0.3.0 ] {
Constant [ <persistent> int FASTJSON_ERROR_RECURSION ] { 6 }
Constant [ <persistent> int FASTJSON_ERROR_INF_OR_NAN ] { 7 }
Constant [ <persistent> int FASTJSON_ERROR_UNSUPPORTED_TYPE ] { 8 }
+ Constant [ <persistent> int FASTJSON_ERROR_NON_BACKED_ENUM ] { 11 }
+ Constant [ <persistent> int FASTJSON_DECODE_RELAXED ] { 8388608 }
}
- Functions {
@@ -26,6 +32,16 @@ Extension [ <persistent> extension #84 fastjson version 0.3.0 ] {
}
- Return [ string|false ]
}
+ Function [ <internal:fastjson> function fastjson_file_encode ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <required> mixed $value ]
+ Parameter #2 [ <optional> int $flags = 0 ]
+ Parameter #3 [ <optional> int $depth = 512 ]
+ }
+ - Return [ bool ]
+ }
Function [ <internal:fastjson> function fastjson_decode ] {
- Parameters [4] {
@@ -36,6 +52,38 @@ Extension [ <persistent> extension #84 fastjson version 0.3.0 ] {
}
- Return [ mixed ]
}
+ Function [ <internal:fastjson> function fastjson_file_decode ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> string $filename ]
+ 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_pointer_get ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> string $json ]
+ Parameter #1 [ <required> string $pointer ]
+ Parameter #2 [ <optional> ?bool $associative = null ]
+ Parameter #3 [ <optional> int $depth = 512 ]
+ Parameter #4 [ <optional> int $flags = 0 ]
+ }
+ - Return [ mixed ]
+ }
+ Function [ <internal:fastjson> function fastjson_merge_patch ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> string $target ]
+ Parameter #1 [ <required> string $patch ]
+ Parameter #2 [ <optional> ?bool $associative = null ]
+ Parameter #3 [ <optional> int $depth = 512 ]
+ Parameter #4 [ <optional> int $flags = 0 ]
+ }
+ - Return [ mixed ]
+ }
Function [ <internal:fastjson> function fastjson_validate ] {
- Parameters [3] {