3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $v = 5; switch($v) { case ($v === 5): var_dump(5); breal; }
Output for 7.2.0
int(5) Warning: Use of undefined constant breal - assumed 'breal' (this will throw an Error in a future version of PHP) in /in/YgsLv on line 8
Output for 4.3.0 - 7.1.10
int(5) Notice: Use of undefined constant breal - assumed 'breal' in /in/YgsLv on line 8