3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php console.log('A');
Output for 7.2.0
Warning: Use of undefined constant console - assumed 'console' (this will throw an Error in a future version of PHP) in /in/MBQVu on line 2 Warning: log() expects parameter 1 to be float, string given in /in/MBQVu on line 2
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant console - assumed 'console' in /in/MBQVu on line 2 Warning: log() expects parameter 1 to be float, string given in /in/MBQVu on line 2
Output for 5.3.17 - 5.6.28
Notice: Use of undefined constant console - assumed 'console' in /in/MBQVu on line 2 Warning: log() expects parameter 1 to be double, string given in /in/MBQVu on line 2