Query: v8js
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
V8JS(3) 1 V8JS(3) The V8Js classINTRODUCTIONThis is the core class for V8Js extension. Each instance created from this class has own context in which all JavaScript is compiled and executed. See V8Js.__construct(3) for more information.CLASS SYNOPSISV8Js V8Js Constants o const string$V8Js::V8_VERSION o const integer$V8Js::FLAG_NONE1 o const integer$V8Js::FLAG_FORCE_ARRAY2 Methods o public V8Js::__construct TRUE ([string $object_name = "PHP"], [array $variables = array()], [array $extensions = array()], [bool $report_uncaught_exceptions]) o public mixed V8Js::executeString V8Js::FLAG_NONE (string $script, [string $identifier = "V8Js::executeString()"], [int $flags]) o publicstatic array V8Js::getExtensions (void ) o public V8JsException V8Js::getPendingException (void ) o publicstatic bool V8Js::registerExtension FALSE (string $extension_name, string $script, [array $dependencies = array()], [bool $auto_enable])PREDEFINED CONSTANTSo V8Js::V8_VERSION -The V8 Javascript Engine version. o V8Js::FLAG_NONE -No flags. o V8Js::FLAG_FORCE_ARRAY -Forces all JS objects to be associative arrays in PHP. PHP Documentation Group V8JS(3)