3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $result = 0 + 0 ?: null; var_dump(result);
based on PBQe1
Output for 7.2.0
Warning: Use of undefined constant result - assumed 'result' (this will throw an Error in a future version of PHP) in /in/J3GSc on line 4 string(6) "result"
Output for 5.3.19 - 7.1.10
Notice: Use of undefined constant result - assumed 'result' in /in/J3GSc on line 4 string(6) "result"