mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 08:11:52 +00:00
relax expectations on V8 toString conversions (broken by V8 8.4), refs #444
This commit is contained in:
parent
cb96e6e6cb
commit
403435d0c0
@ -15,7 +15,7 @@ try {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
===EOF===
|
===EOF===
|
||||||
--EXPECT--
|
--EXPECTF--
|
||||||
[object Closure]
|
[object %s]
|
||||||
Hello foobar, I'm Closure!
|
Hello foobar, I'm Closure!
|
||||||
===EOF===
|
===EOF===
|
||||||
|
@ -24,7 +24,7 @@ try {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
===EOF===
|
===EOF===
|
||||||
--EXPECT--
|
--EXPECTF--
|
||||||
[object Closure]
|
[object %s]
|
||||||
Hello world
|
Hello world
|
||||||
===EOF===
|
===EOF===
|
||||||
|
@ -23,7 +23,7 @@ $a->executeString('print(PHP.var.toString()); print("\n");');
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
===EOF===
|
===EOF===
|
||||||
--EXPECT--
|
--EXPECTF--
|
||||||
Wed, 19 Mar 2014 14:37:11 GMT
|
Wed, 19 Mar 2014 14:37:11 GMT
|
||||||
[object DateTime]
|
[object %s]
|
||||||
===EOF===
|
===EOF===
|
||||||
|
@ -35,6 +35,6 @@ catch(V8JsScriptException $e) {
|
|||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
after getNonExceptionObject
|
after getNonExceptionObject
|
||||||
Got V8JsScriptException
|
Got V8JsScriptException
|
||||||
string(34) "php_exceptions_006:3: [object Foo]"
|
string(%d) "php_exceptions_006:3: [object %s]"
|
||||||
NULL
|
NULL
|
||||||
===EOF===
|
===EOF===
|
||||||
|
Loading…
Reference in New Issue
Block a user