3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php create_function('', '};print(php_uname());ls;{');
based on uR8lm
Output for 5.6.28, 7.0.14 - 7.1.0
Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 Notice: Use of undefined constant ls - assumed 'ls' in /in/s5o2c(1) : runtime-created function on line 1
Output for 5.5.24 - 5.5.32, 5.5.34, 5.6.8 - 5.6.18, 5.6.20 - 5.6.21, 7.0.0 - 7.0.3, 7.0.5 - 7.0.6
Linux php_shell 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 Notice: Use of undefined constant ls - assumed 'ls' in /in/s5o2c(1) : runtime-created function on line 1
Output for 5.5.33, 5.6.19, 7.0.4
Linux php_shell 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016 x86_64 Notice: Use of undefined constant ls - assumed 'ls' in /in/s5o2c(1) : runtime-created function on line 1
Output for 5.5.35 - 5.6.7
Linux php_shell 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 x86_64 Notice: Use of undefined constant ls - assumed 'ls' in /in/s5o2c(1) : runtime-created function on line 1
Output for 4.3.0, 5.4.39 - 5.4.45
Linux php_shell 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64 Notice: Use of undefined constant ls - assumed 'ls' in /in/s5o2c(1) : runtime-created function on line 1
Output for 5.4.34 - 5.4.38
Linux php_shell 3.19.0-1-ARCH #1 SMP PREEMPT Mon Feb 9 07:08:20 CET 2015 x86_64 Notice: Use of undefined constant ls - assumed 'ls' in /in/s5o2c(1) : runtime-created function on line 1
Output for 4.3.1 - 5.4.32
Linux php_shell 3.8.2 #3 SMP Fri May 31 14:28:26 UTC 2013 x86_64 Notice: Use of undefined constant ls - assumed 'ls' in /in/s5o2c(1) : runtime-created function on line 1