mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 08:11:52 +00:00
commonjs_modules test requires json_encode.
This commit is contained in:
parent
926d160367
commit
293ca476f0
@ -1,7 +1,12 @@
|
||||
--TEST--
|
||||
Test V8Js::setModuleLoader : CommonJS modules
|
||||
--SKIPIF--
|
||||
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
|
||||
<?php
|
||||
if(!function_exists('json_encode')) {
|
||||
die('SKIP');
|
||||
}
|
||||
require_once(dirname(__FILE__) . '/skipif.inc');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user