--TEST-- Test V8::executeString() : Script validator test --SKIPIF-- --FILE-- checkString('print("Hello World!");')); try { var_dump($v8->checkString('print("Hello World!);')); } catch (V8JsScriptException $e) { var_dump($e->getMessage()); } ?> ===EOF=== --EXPECTF-- Deprecated: %s V8Js::checkString() is deprecated in %s on line %d bool(true) Deprecated: %s V8Js::checkString() is deprecated in %s on line %d string(%d) "V8Js::checkString():1: SyntaxError: %s" ===EOF===