V8Js::executeString
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
V8Js::executeString
Референца за `v8js.executestring.php` со подобрена типографија и навигација.
V8Js::executeString
(PECL v8js >= 0.1.0)
V8Js::executeString — Execute a string as Javascript code
= NULL
$script, string $identifier = array(), int $flags = V8Js::FLAG_NONE): mixed
Compiles and executes the string passed with script as Javascript code.
Параметри
script-
The code string to be executed.
identifier-
Identifier string for the executed code. Used for debugging.
flags-
Execution flags. This value must be one of the
V8Js::FLAG_*константите, со стандардна вредностV8Js::FLAG_NONE.-
V8Js::FLAG_NONE: no flags -
V8Js::FLAG_FORCE_ARRAY: forces all Javascript objects passed to PHP to be associative arrays
-
Вратени вредности
Returns the last variable instantiated in the Javascript code converted to matching PHP variable type.