0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-09 01:28:41 +00:00
phpv8/samples/test_crash.php

6 lines
167 B
PHP
Raw Normal View History

2012-04-27 16:26:15 +00:00
<?php {
$a = new V8Js();
var_dump($a->executeString('Jst.write = function(s) { html += "EI TOIMI"; };' ."\n" .' Jst.evaluate("lol testi <%= 1 %>", {});'));
}