diff --git a/tests/exception.phpt b/tests/exception.phpt index aec5cd3..aa3da98 100644 --- a/tests/exception.phpt +++ b/tests/exception.phpt @@ -19,7 +19,7 @@ try { ?> ===EOF=== --EXPECTF-- -object(V8JsScriptException)#2 (11) { +object(V8JsScriptException)#%d (11) { ["message":protected]=> string(75) "exception.js:1: ReferenceError: this_function_does_not_exist is not defined" ["string":"Exception":private]=> diff --git a/tests/exception_propagation_2.phpt b/tests/exception_propagation_2.phpt index 29496fe..06e75e3 100644 --- a/tests/exception_propagation_2.phpt +++ b/tests/exception_propagation_2.phpt @@ -33,7 +33,7 @@ try { ?> ===EOF=== --EXPECTF-- -object(V8JsScriptException)#3 (11) { +object(V8JsScriptException)#%d (11) { ["message":protected]=> string(49) "throw_0:1: ReferenceError: fooobar is not defined" ["string":"Exception":private]=> diff --git a/tests/execute_flags.phpt b/tests/execute_flags.phpt index 62640bf..642b3eb 100644 --- a/tests/execute_flags.phpt +++ b/tests/execute_flags.phpt @@ -20,8 +20,8 @@ try { } ?> ===EOF=== ---EXPECT-- -object(V8Object)#2 (1) { +--EXPECTF-- +object(V8Object)#%d (1) { ["hello"]=> string(5) "world" } diff --git a/tests/execute_flags_args.phpt b/tests/execute_flags_args.phpt index 6a25d2e..b839ee4 100644 --- a/tests/execute_flags_args.phpt +++ b/tests/execute_flags_args.phpt @@ -22,10 +22,10 @@ try { } ?> ===EOF=== ---EXPECT-- +--EXPECTF-- array(2) { [0]=> - object(V8Object)#3 (6) { + object(V8Object)#%d (6) { ["0"]=> string(1) "F" ["1"]=> @@ -40,7 +40,7 @@ array(2) { string(1) "r" } [1]=> - object(V8Object)#4 (2) { + object(V8Object)#%d (2) { ["0"]=> string(3) "foo" ["1"]=> diff --git a/tests/js-construct-protected-ctor.phpt b/tests/js-construct-protected-ctor.phpt index 3256cd8..a132d06 100644 --- a/tests/js-construct-protected-ctor.phpt +++ b/tests/js-construct-protected-ctor.phpt @@ -42,7 +42,7 @@ try { ctor called (php) Hello John caught js exception -object(V8JsScriptException)#3 (11) { +object(V8JsScriptException)#%d (11) { ["message":protected]=> string(56) "ctor-test:4: Call to protected __construct() not allowed" ["string":"Exception":private]=> diff --git a/tests/object_method_call.phpt b/tests/object_method_call.phpt index d037ad1..b0b4eb7 100644 --- a/tests/object_method_call.phpt +++ b/tests/object_method_call.phpt @@ -71,7 +71,7 @@ try { ?> ===EOF=== ---EXPECT-- +--EXPECTF-- array(2) { [0]=> string(4) "arg1" @@ -113,7 +113,7 @@ Mon, 08 Sep 1975 09:00:00 +0000 string(3) "foo" array(3) { [0]=> - object(Testing)#2 (3) { + object(Testing)#%d (3) { ["foo"]=> string(8) "ORIGINAL" ["my_private":"Testing":private]=> @@ -137,7 +137,7 @@ array(3) { [1]=> string(3) "bar" [2]=> - object(Testing)#2 (3) { + object(Testing)#%d (3) { ["foo"]=> string(8) "ORIGINAL" ["my_private":"Testing":private]=> diff --git a/tests/object_prototype.phpt b/tests/object_prototype.phpt index 469171f..44dbc5b 100644 --- a/tests/object_prototype.phpt +++ b/tests/object_prototype.phpt @@ -34,12 +34,12 @@ $a->test_two = new A(); $a->executeString($js, 'foo'); ?> ===EOF=== ---EXPECT-- +--EXPECTF-- array(2) { [0]=> string(6) "Foobar" [1]=> - object(V8Object)#4 (2) { + object(V8Object)#%d (2) { ["0"]=> string(3) "foo" ["1"]=> @@ -50,7 +50,7 @@ array(2) { [0]=> string(6) "Foobar" [1]=> - object(V8Object)#4 (2) { + object(V8Object)#%d (2) { ["0"]=> string(3) "foo" ["1"]=> @@ -61,7 +61,7 @@ array(2) { [0]=> string(5) "a,b,c" [1]=> - object(V8Object)#4 (2) { + object(V8Object)#%d (2) { ["0"]=> string(3) "foo" ["1"]=> @@ -72,7 +72,7 @@ array(2) { [0]=> string(5) "a,b,c" [1]=> - object(V8Object)#4 (2) { + object(V8Object)#%d (2) { ["0"]=> string(3) "foo" ["1"]=> diff --git a/tests/return_value.phpt b/tests/return_value.phpt index 5ee036a..44f567a 100644 --- a/tests/return_value.phpt +++ b/tests/return_value.phpt @@ -41,9 +41,9 @@ var_dump($a->executeString("test(true);", "test8.js")); var_dump($a->executeString("test(false);", "test9.js")); ?> ===EOF=== ---EXPECT-- +--EXPECTF-- NULL -object(Testing)#2 (3) { +object(Testing)#%d (3) { ["foo"]=> string(8) "ORIGINAL" ["my_private":"Testing":private]=>