downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

V8Js::__construct> <Exemples
[edit] Last updated: Fri, 17 May 2013

view this page in

La classe V8Js

(No version information available, might only be in SVN)

Introduction

C'est la classe de base de l'extension V8Js. Chaque instance créée depuis cette classe a son propre contexte dans lequel tout le Javascript est compilé et exécuté.

Voir V8Js::__construct() pour plus d'informations.

Synopsis de la classe

V8Js {
/* Constantes */
const string V8_VERSION ;
const integer FLAG_NONE = 1 ;
const integer FLAG_FORCE_ARRAY = 2 ;
/* Méthodes */
public __construct ([ string $object_name = "PHP" [, array $variables = array() [, array $extensions = array() [, bool $report_uncaught_exceptions = TRUE ]]]] )
public mixed executeString ( string $script [, string $identifier = "V8Js::executeString()" [, int $flags = V8Js::FLAG_NONE ]] )
public static array getExtensions ( void )
public V8JsException getPendingException ( void )
public static bool registerExtension ( string $extension_name , string $script [, array $dependencies = array() [, bool $auto_enable = FALSE ]] )
}

Constantes pré-définies

V8Js::V8_VERSION

La version du moteur Javascript V8.

V8Js::FLAG_NONE

Aucun drapeau.

V8Js::FLAG_FORCE_ARRAY

Force tous les objets JS a être des tableaux associatifs en PHP.

Sommaire



add a note add a note User Contributed Notes V8Js - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites