--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=== --EXPECT-- bool(true) string(60) "V8Js::checkString():1: SyntaxError: Unexpected token ILLEGAL" ===EOF===