php8.5
Home/ Manual/ reference / v8js/ The V8Js class

The V8Js class

This is the core class for V8Js extension. Each instance created from this class has own context in which all JavaScript is compiled and executed.

Intro

This 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() for more information.

Class synopsis

class V8Js { }

Predefined Constants

V8Js::V8_VERSION

The V8 Javascript Engine version.

V8Js::FLAG_NONE

No flags.

V8Js::FLAG_FORCE_ARRAY

Forces all JS objects to be associative arrays in PHP.

V8js

In this section

Source: reference/v8js/v8js.xml · from the official PHP manual (php/doc-en)