mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-09 23:08:41 +00:00
89 lines
1.1 KiB
Plaintext
89 lines
1.1 KiB
Plaintext
|
|
---- EXPECTED OUTPUT
|
|
NULL
|
|
object(V8Object)#3 (2) {
|
|
["mytest"]=>
|
|
object(V8Function)#4 (0) {
|
|
}
|
|
["foo"]=>
|
|
string(8) "ORIGINAL"
|
|
}
|
|
array(3) {
|
|
[0]=>
|
|
int(1)
|
|
[1]=>
|
|
int(2)
|
|
[2]=>
|
|
int(3)
|
|
}
|
|
array(2) {
|
|
[0]=>
|
|
string(3) "foo"
|
|
[1]=>
|
|
string(3) "bar"
|
|
}
|
|
array(2) {
|
|
[0]=>
|
|
string(3) "foo"
|
|
[1]=>
|
|
string(3) "bar"
|
|
}
|
|
object(DateTime)#3 (3) {
|
|
["date"]=>
|
|
string(19) "1975-09-08 09:00:00"
|
|
["timezone_type"]=>
|
|
int(1)
|
|
["timezone"]=>
|
|
string(6) "+02:00"
|
|
}
|
|
int(1234567890)
|
|
float(123.456789)
|
|
string(11) "some string"
|
|
bool(true)
|
|
bool(false)
|
|
===EOF===
|
|
---- ACTUAL OUTPUT
|
|
NULL
|
|
object(V8Object)#3 (2) {
|
|
["mytest"]=>
|
|
object(V8Function)#4 (0) {
|
|
}
|
|
["foo"]=>
|
|
string(8) "ORIGINAL"
|
|
}
|
|
array(3) {
|
|
[0]=>
|
|
int(1)
|
|
[1]=>
|
|
int(2)
|
|
[2]=>
|
|
int(3)
|
|
}
|
|
array(2) {
|
|
[0]=>
|
|
string(3) "foo"
|
|
[1]=>
|
|
string(3) "bar"
|
|
}
|
|
array(2) {
|
|
[0]=>
|
|
string(3) "foo"
|
|
[1]=>
|
|
string(3) "bar"
|
|
}
|
|
object(DateTime)#3 (3) {
|
|
["date"]=>
|
|
string(19) "1975-09-08 09:00:00"
|
|
["timezone_type"]=>
|
|
int(1)
|
|
["timezone"]=>
|
|
string(6) "-07:00"
|
|
}
|
|
int(1234567890)
|
|
float(123.456789)
|
|
string(11) "some string"
|
|
bool(true)
|
|
bool(false)
|
|
===EOF===
|
|
---- FAILED
|