135 linhas
1.6 KiB
Plaintext
135 linhas
1.6 KiB
Plaintext
*** Testing json_decode() : basic functionality ***
|
|
-- Iteration 1 --
|
|
int(0)
|
|
int(0)
|
|
-- Iteration 2 --
|
|
int(123)
|
|
int(123)
|
|
-- Iteration 3 --
|
|
int(-123)
|
|
int(-123)
|
|
-- Iteration 4 --
|
|
int(2147483647)
|
|
int(2147483647)
|
|
-- Iteration 5 --
|
|
int(-2147483648)
|
|
int(-2147483648)
|
|
-- Iteration 6 --
|
|
float(123.456)
|
|
float(123.456)
|
|
-- Iteration 7 --
|
|
int(1230)
|
|
int(1230)
|
|
-- Iteration 8 --
|
|
int(-1230)
|
|
int(-1230)
|
|
-- Iteration 9 --
|
|
bool(true)
|
|
bool(true)
|
|
-- Iteration 10 --
|
|
bool(false)
|
|
bool(false)
|
|
-- Iteration 11 --
|
|
NULL
|
|
NULL
|
|
-- Iteration 12 --
|
|
string(3) "abc"
|
|
string(3) "abc"
|
|
-- Iteration 13 --
|
|
string(13) "Hello World
|
|
"
|
|
string(13) "Hello World
|
|
"
|
|
-- Iteration 14 --
|
|
array(0) {
|
|
}
|
|
array(0) {
|
|
}
|
|
-- Iteration 15 --
|
|
array(5) {
|
|
[0]=>
|
|
int(1)
|
|
[1]=>
|
|
int(2)
|
|
[2]=>
|
|
int(3)
|
|
[3]=>
|
|
int(4)
|
|
[4]=>
|
|
int(5)
|
|
}
|
|
array(5) {
|
|
[0]=>
|
|
int(1)
|
|
[1]=>
|
|
int(2)
|
|
[2]=>
|
|
int(3)
|
|
[3]=>
|
|
int(4)
|
|
[4]=>
|
|
int(5)
|
|
}
|
|
-- Iteration 16 --
|
|
object(stdClass)#%d (5) {
|
|
["myInt"]=>
|
|
int(99)
|
|
["myFloat"]=>
|
|
float(123.45)
|
|
["myNull"]=>
|
|
NULL
|
|
["myBool"]=>
|
|
bool(true)
|
|
["myString"]=>
|
|
string(11) "Hello World"
|
|
}
|
|
array(5) {
|
|
["myInt"]=>
|
|
int(99)
|
|
["myFloat"]=>
|
|
float(123.45)
|
|
["myNull"]=>
|
|
NULL
|
|
["myBool"]=>
|
|
bool(true)
|
|
["myString"]=>
|
|
string(11) "Hello World"
|
|
}
|
|
-- Iteration 17 --
|
|
object(stdClass)#%d (6) {
|
|
["Jan"]=>
|
|
int(31)
|
|
["Feb"]=>
|
|
int(29)
|
|
["Mar"]=>
|
|
int(31)
|
|
["April"]=>
|
|
int(30)
|
|
["May"]=>
|
|
int(31)
|
|
["June"]=>
|
|
int(30)
|
|
}
|
|
array(6) {
|
|
["Jan"]=>
|
|
int(31)
|
|
["Feb"]=>
|
|
int(29)
|
|
["Mar"]=>
|
|
int(31)
|
|
["April"]=>
|
|
int(30)
|
|
["May"]=>
|
|
int(31)
|
|
["June"]=>
|
|
int(30)
|
|
}
|
|
-- Iteration 18 --
|
|
string(0) ""
|
|
string(0) ""
|
|
-- Iteration 19 --
|
|
object(stdClass)#%d (0) {
|
|
}
|
|
array(0) {
|
|
}
|
|
===Done=== |