3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); $a['lol'] = 'fuu' or '0'; print_r($a); $a = array('lol' => 10/0 or '1'); print_r($a);
Output for 4.3.0 - 7.1.0
Array ( [lol] => fuu ) Warning: Division by zero in /in/S9Y7S on line 7 Array ( [lol] => 1 )