3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo “/tmp”;
Output for 7.2.0
Warning: Use of undefined constant “ - assumed '“' (this will throw an Error in a future version of PHP) in /in/iaquX on line 3 Warning: Use of undefined constant tmp” - assumed 'tmp”' (this will throw an Error in a future version of PHP) in /in/iaquX on line 3 Warning: A non-numeric value encountered in /in/iaquX on line 3 Warning: A non-numeric value encountered in /in/iaquX on line 3 Warning: Division by zero in /in/iaquX on line 3 NAN
Output for 7.1.0 - 7.1.10
Notice: Use of undefined constant “ - assumed '“' in /in/iaquX on line 3 Notice: Use of undefined constant tmp” - assumed 'tmp”' in /in/iaquX on line 3 Warning: A non-numeric value encountered in /in/iaquX on line 3 Warning: A non-numeric value encountered in /in/iaquX on line 3 Warning: Division by zero in /in/iaquX on line 3 NAN
Output for 7.0.0 - 7.0.20
Notice: Use of undefined constant “ - assumed '“' in /in/iaquX on line 3 Notice: Use of undefined constant tmp” - assumed 'tmp”' in /in/iaquX on line 3 Warning: Division by zero in /in/iaquX on line 3 NAN
Output for 4.3.0 - 5.6.25
Notice: Use of undefined constant “ - assumed '“' in /in/iaquX on line 3 Notice: Use of undefined constant tmp” - assumed 'tmp”' in /in/iaquX on line 3 Warning: Division by zero in /in/iaquX on line 3