3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $information = array("a" => "b", "b" => array("d" => array("c" => "a")), "f" => "c", "x" => array("c" => array("k" => array("l" => array("b" => "k")))), "z" => "h", "w" => array("q" => array("p" => array("c" => array("b" => array("v" => "a"))))), "l" => "r", "s" => array("a" => array("t" => "g")), "r" => "f", "k" => array("o" => array("i" => array("j" => "a"))), "d" => "h", "m" => array("e" => "b"), "r" => "m", "e" => array("a" => array("x" => array("u" => "y"))), "c" => "n", "n" => array("q" => array("d" => array("v" => "w"))), "y" => "y", "g" => array("b" => array("c" => array("a" => "fridge"))), "h" => "k" ); print_r($information);
based on ZQXMm
Output for 5.3.19 - 5.6.30, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.2.7
Array ( [a] => b [b] => Array ( [d] => Array ( [c] => a ) ) [f] => c [x] => Array ( [c] => Array ( [k] => Array ( [l] => Array ( [b] => k ) ) ) ) [z] => h [w] => Array ( [q] => Array ( [p] => Array ( [c] => Array ( [b] => Array ( [v] => a ) ) ) ) ) [l] => r [s] => Array ( [a] => Array ( [t] => g ) ) [r] => m [k] => Array ( [o] => Array ( [i] => Array ( [j] => a ) ) ) [d] => h [m] => Array ( [e] => b ) [e] => Array ( [a] => Array ( [x] => Array ( [u] => y ) ) ) [c] => n [n] => Array ( [q] => Array ( [d] => Array ( [v] => w ) ) ) [y] => y [g] => Array ( [b] => Array ( [c] => Array ( [a] => fridge ) ) ) [h] => k )