We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5234490 commit 6386e9dCopy full SHA for 6386e9d
tests/commonjs_exception_001.phpt
@@ -20,13 +20,13 @@ $v8->executeString($JS, 'module.js', V8Js::FLAG_PROPAGATE_PHP_EXCEPTIONS);
20
--EXPECTF--
21
Fatal error: Uncaught Exception: some exception in %s%ecommonjs_exception_001.php:9
22
Stack trace:
23
-#0 [internal function]: {closure}('test')
+#0 [internal function]: {closur%s}('test')
24
#1 %s%ecommonjs_exception_001.php(12): V8Js->executeString('var foo = requi...', 'module.js', 4)
25
#2 {main}
26
27
Next V8JsScriptException: module.js:1: Exception: some exception in %s%ecommonjs_exception_001.php:9
28
29
30
31
#2 {main} in %s%ecommonjs_exception_001.php:12
32
tests/commonjs_exception_002.phpt
@@ -23,13 +23,13 @@ $v8->executeString($JS, 'module.js', V8Js::FLAG_PROPAGATE_PHP_EXCEPTIONS);
Fatal error: Uncaught Exception: some exception in %s%ecommonjs_exception_002.php:9
-#0 [internal function]: {closure}('', './test')
+#0 [internal function]: {closur%s}('', './test')
#1 %s%ecommonjs_exception_002.php(15): V8Js->executeString('var foo = requi...', 'module.js', 4)
Next V8JsScriptException: module.js:1: Exception: some exception in %s%ecommonjs_exception_002.php:9
33
34
#2 {main} in %s%ecommonjs_exception_002.php:15
35
tests/commonjs_fatal_error.phpt
@@ -7,7 +7,7 @@ Test V8Js::setModuleLoader : Handle fatal errors gracefully
7
$v8 = new V8Js();
8
9
$v8->setModuleLoader(function() {
10
- trigger_error('some fatal error', E_USER_ERROR);
+ @trigger_error('some fatal error', E_USER_ERROR);
11
});
12
13
$v8->executeString(' require("foo"); ');
tests/fatal_error_no_uninstall_inner_frame.phpt
@@ -29,7 +29,7 @@ nothing.
Fatal error: Uncaught Error: Call to a member function foo() on null in %s%efatal_error_no_uninstall_inner_frame.php:15
-#0 [internal function]: {closure}()
+#0 [internal function]: {closur%s}()
#1 [internal function]: Closure->__invoke()
#2 %s%efatal_error_no_uninstall_inner_frame.php(18): V8Js->executeString('PHP.foo();')
#3 {main}
tests/fatal_error_recursive.phpt
@@ -37,13 +37,13 @@ foo
37
38
Fatal error: Uncaught Error: Call to a member function bar() on null in %s%efatal_error_recursive.php:7
39
40
41
42
#2 %s%efatal_error_recursive.php(12): V8Js->executeString('PHP.baz();')
43
-#3 [internal function]: {closure}()
+#3 [internal function]: {closur%s}()
44
#4 [internal function]: Closure->__invoke()
45
#5 %s%efatal_error_recursive.php(17): V8Js->executeString('PHP.bar();')
46
-#6 [internal function]: {closure}()
+#6 [internal function]: {closur%s}()
47
#7 [internal function]: Closure->__invoke()
48
#8 %s%efatal_error_recursive.php(25): V8Js->executeString('PHP.nofail(); P...')
49
#9 {main}
tests/fatal_error_rethrow.phpt
@@ -25,7 +25,7 @@ $js->executeString($script);
Fatal error: Uncaught Error: Call to a member function bar() on %s in %s%efatal_error_rethrow.php:7
#2 %s%efatal_error_rethrow.php(16): V8Js->executeString(%s)
tests/generators_from_v8_008.phpt
@@ -37,7 +37,7 @@ int(23)
Fatal error: Uncaught Exception: this shall not work in %s
#2 %s: V8Generator->next()
tests/generators_from_v8_009.phpt
@@ -22,7 +22,7 @@ EOJS;
$v8->getValue = function() {
- trigger_error("you're gonna fail now", E_USER_ERROR);
+ @trigger_error("you're gonna fail now", E_USER_ERROR);
};
$gen = $v8->executeString($js);
v8js_object_export.cc
@@ -675,7 +675,7 @@ v8::Local<v8::Value> v8js_named_property_callback(v8::Isolate *isolate, v8::Loca
675
ce = scope = object->ce;
676
677
/* First, check the (case-insensitive) method table */
678
- php_strtolower(lower, name_len);
+ zend_str_tolower(lower, name_len);
679
method_name = zend_string_init(lower, name_len, 0);
680
681
// toString() -> __tostring()
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments