3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $request = array('foo/bar', array('ban' => 'baz'), 'test', '1 hour'); $request += array('', array(), null, '15 second'); var_dump($request);
Output for 4.3.0 - 7.1.0
array(4) { [0]=> string(7) "foo/bar" [1]=> array(1) { ["ban"]=> string(3) "baz" } [2]=> string(4) "test" [3]=> string(6) "1 hour" }