3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo “/tmp”;
Output for 7.1.0
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 hhvm-3.12.0, 7.0.0 - 7.0.14
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, hhvm-3.10.0
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