#!/www/server/bin/php -qC "bar", "qux", 42 => "quux")), "{foo:\"bar\",\n'0':\"qux\",\n'42':\"quux\"}", 'key-value pairs' ); is( itjs::serialize(array('foo' => array('bar' => array("qux", 42)))), '{foo:{bar:["qux", 42]}}', 'nested arrays' ); ?>