mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-23 12:41:53 +00:00
6 lines
167 B
PHP
6 lines
167 B
PHP
|
<?php {
|
||
|
$a = new V8Js();
|
||
|
|
||
|
var_dump($a->executeString('Jst.write = function(s) { html += "EI TOIMI"; };' ."\n" .' Jst.evaluate("lol testi <%= 1 %>", {});'));
|
||
|
}
|