--TEST-- Test V8::registerExtension() : Register extension with errors --SKIPIF-- (.*)/", $minfo, $matches)) { $version = explode('.', $matches[1]); if($version[0] < 3 || ($version[0] == 3 && $version[1] < 30)) { // old v8 version, has shorter error message and hence doesn't // fit our EXCEPTF below echo "skip"; } } ?> --FILE-- ===EOF=== --EXPECTF-- -- registerExtension -- -- creating V8Js object -- Exception thrown during bootstrapping Extension or internal compilation error%sin handlebars at line 1. Error installing extension 'handlebars'. Fatal error: Uncaught V8JsException: Failed to create V8 context. Check that registered extensions do not have errors. in %s%eextensions_error.php:7 Stack trace: #0 %s%eextensions_error.php(7): V8Js->__construct() #1 {main} thrown in %s%eextensions_error.php on line 7