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