--TEST-- Test V8::executeString() : Forcing to arrays --SKIPIF-- --FILE-- executeString($js, 'assoc_no_flags.js')); echo "---\n"; var_dump($v8->executeString($js, 'assoc_force_to_array.js', V8Js::FLAG_FORCE_ARRAY)); } catch (V8JsScriptException $e) { var_dump($e); } ?> ===EOF=== --EXPECT-- object(V8Object)#2 (1) { ["hello"]=> string(5) "world" } --- array(1) { ["hello"]=> string(5) "world" } ===EOF===