3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(5, array(4)); echo '<pre>'; print_r($a); $a = serialize(array(5, array(4))); echo '<pre>'; print_r(unserialize($a));
Output for 4.3.0 - 7.2.6
<pre>Array ( [0] => 5 [1] => Array ( [0] => 4 ) ) <pre>Array ( [0] => 5 [1] => Array ( [0] => 4 ) )