0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-01-03 08:11:52 +00:00

Merge pull request #110 from stesie/fix-tests-php-5.6.0

Fix tests for php 5.6.0
This commit is contained in:
Stefan Siegl 2014-09-21 23:41:43 +02:00
commit 516770ad57
5 changed files with 6 additions and 6 deletions

View File

@ -27,4 +27,4 @@ $js->executeString("PHP.foo();");
--EXPECTF-- --EXPECTF--
nothing. nothing.
Fatal error: Call to a member function foo() on a non-object in %s/fatal_error_no_uninstall_inner_frame.php on line 15 Fatal error: Call to a member function foo() on %s in %s/fatal_error_no_uninstall_inner_frame.php on line 15

View File

@ -35,4 +35,4 @@ $js->executeString("PHP.nofail(); PHP.foo();");
foo foo
foo foo
Fatal error: Call to a member function bar() on a non-object in %s/fatal_error_recursive.php on line 7 Fatal error: Call to a member function bar() on %s in %s/fatal_error_recursive.php on line 7

View File

@ -23,4 +23,4 @@ $js->executeString($script);
?> ?>
===EOF=== ===EOF===
--EXPECTF-- --EXPECTF--
Fatal error: Call to a member function bar() on a non-object in %s/fatal_error_rethrow.php on line 7 Fatal error: Call to a member function bar() on %s in %s/fatal_error_rethrow.php on line 7

View File

@ -29,4 +29,4 @@ $bar->foo();
--EXPECTF-- --EXPECTF--
nothing. nothing.
Fatal error: Call to a member function foo() on a non-object in %s/fatal_error_uninstall_in_first_frame.php on line 20 Fatal error: Call to a member function foo() on %s in %s/fatal_error_uninstall_in_first_frame.php on line 20

View File

@ -88,7 +88,7 @@ array(11) {
["date"]=> ["date"]=>
object(DateTime)#%d (3) { object(DateTime)#%d (3) {
["date"]=> ["date"]=>
string(19) "1976-09-27 09:00:00" string(%d) "1976-09-27 09:00:00%r(\.0+)?%r"
["timezone_type"]=> ["timezone_type"]=>
int(3) int(3)
["timezone"]=> ["timezone"]=>
@ -199,7 +199,7 @@ array (11) {
function () { [native code] } function () { [native code] }
} }
["$date"] => ["$date"] =>
string(19) "1976-09-27 09:00:00" string(%d) "1976-09-27 09:00:00%r(\.0+)?%r"
["$timezone_type"] => ["$timezone_type"] =>
int(3) int(3)
["$timezone"] => ["$timezone"] =>