3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $first_number = 10; $first_number += 2; echo first_number; ?>
Output for 7.2.0 - 7.3.0beta1
Warning: Use of undefined constant first_number - assumed 'first_number' (this will throw an Error in a future version of PHP) in /in/Y0Itf on line 5 first_number
Output for 4.3.0 - 7.1.20
Notice: Use of undefined constant first_number - assumed 'first_number' in /in/Y0Itf on line 5 first_number