3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $request = array('foo/bar', array('ban' => 'baz')); $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]=> NULL [3]=> string(9) "15 second" }