3v4l.org

run code in 300+ PHP versions simultaneously
<?php assert(create_function('', '};print(php_uname());//'));
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught Error: Call to undefined function create_function() in /in/F2UNA:1 Stack trace: #0 {main} thrown in /in/F2UNA on line 1
Process exited with code 255.
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Deprecated: Function create_function() is deprecated in /in/F2UNA on line 1 Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 Deprecated: assert(): Calling assert() with a string argument is deprecated in /in/F2UNA on line 1 Warning: Unexpected character in input: ' in /in/F2UNA(1) : assert code on line 1 Warning: Use of undefined constant lambda_1 - assumed 'lambda_1' (this will throw an Error in a future version of PHP) in /in/F2UNA(1) : assert code on line 1
Output for 7.3.32 - 7.3.33
Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 Warning: Unexpected character in input: ' in /in/F2UNA(1) : assert code on line 1 Warning: Use of undefined constant lambda_1 - assumed 'lambda_1' (this will throw an Error in a future version of PHP) in /in/F2UNA(1) : assert code on line 1
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.33, 7.1.0 - 7.1.25
Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 Warning: Unexpected character in input: ' in /in/F2UNA(1) : assert code on line 1 Notice: Use of undefined constant lambda_1 - assumed 'lambda_1' in /in/F2UNA(1) : assert code on line 1
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.1, 4.4.3 - 4.4.9, 5.0.0 - 5.0.5, 5.1.1, 5.1.3 - 5.1.4, 5.1.6, 5.2.0 - 5.2.17
Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 Warning: assert(): Assertion "" failed in /in/F2UNA on line 1
Output for 4.4.2, 5.1.2, 5.1.5
//}Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 Warning: assert(): Assertion "" failed in /in/F2UNA on line 1
Output for 5.1.0

Process exited with code 137.
Output for 4.3.0 - 4.3.1
Linux php_shell 4.8.6-1-ARCH #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 x86_64 Warning: assert() [http://www.php.net/function.assert]: Assertion "" failed in /in/F2UNA on line 1

preferences:
273.31 ms | 402 KiB | 422 Q