3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('bla' => 1, 'blo' => 1, 'bli' => 1); $array['bla']++; $array['bli'] = $array['bli'] + 1; $array['blo'] = $array['blo']++; var_dump($array);
based on plcVF
Output for 4.3.0 - 7.1.0
array(3) { ["bla"]=> int(2) ["blo"]=> int(1) ["bli"]=> int(2) }