blob: 80fca2faf0b0f41f48c0b3a8bbd9800bf85c5728 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
Extension [ <persistent> extension #84 fastjson version 0.5.0 ] {
- 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 }
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 }
Constant [ <persistent> int FASTJSON_ERROR_NON_BACKED_ENUM ] { 11 }
Constant [ <persistent> int FASTJSON_DECODE_RELAXED ] { 8388608 }
}
- 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_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] {
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_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_pointer_exists ] {
- Parameters [3] {
Parameter #0 [ <required> string $json ]
Parameter #1 [ <required> string $pointer ]
Parameter #2 [ <optional> int $flags = 0 ]
}
- Return [ bool ]
}
Function [ <internal:fastjson> function fastjson_pointer_set ] {
- Parameters [5] {
Parameter #0 [ <required> string $json ]
Parameter #1 [ <required> string $pointer ]
Parameter #2 [ <required> mixed $value ]
Parameter #3 [ <optional> int $flags = 0 ]
Parameter #4 [ <optional> int $depth = 512 ]
}
- Return [ string|false ]
}
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] {
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 ]
}
Function [ <internal:fastjson> function fastjson_last_error_pos ] {
- Parameters [0] {
}
- Return [ int ]
}
Function [ <internal:fastjson> function fastjson_last_error_info ] {
- Parameters [0] {
}
- Return [ array ]
}
}
}
|