3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mi = array('q', 2 => 'w') + array(1,2,3,4); $mi = $mi++; echo $mi; print_r($mi); die;
Output for 5.4.0 - 7.2.0
Notice: Array to string conversion in /in/cfc0E on line 4 ArrayArray ( [0] => q [2] => w [1] => 2 [3] => 4 )
Output for 4.3.0 - 5.3.29
ArrayArray ( [0] => q [2] => w [1] => 2 [3] => 4 )