3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (defined(PHP_EOL)) { echo "PHP is EOL!!! Quick, migrate!"; } else { echo "All is fine, PHP is still active"; }
based on aILSD
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.2.0
All is fine, PHP is still active
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/A7jj6 on line 3 All is fine, PHP is still active