1.2.1605. ext/v8js

Extension v8js.

This extension embeds the V8 Javascript `Engine <https://bugs.chromium.org/p/v8/issues/list>`_ into PHP.

<?php

$v8 = new V8Js();

/* basic.js */
$JS = <<< EOT
len = print('Hello' + ' ' + 'World!' + '\n');
len;
EOT;

try {
  var_dump($v8->executeString($JS, 'basic.js'));
} catch (V8JsException $e) {
  var_dump($e);
}

?>

See also V8 Javascript Engine Integration, V8 Javascript Engine for PHP and pecl v8js.

1.2.1605.1. Specs

Short name

Extensions/Extv8js

Rulesets

All, Appinfo, CE

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

Very high

Available in

Entreprise Edition, Community Edition, Exakat Cloud