3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(posix_uname());
Output for 7.1.0
Array ( [sysname] => Linux [nodename] => php_shell [release] => 4.8.11-1-ARCH [version] => #1 SMP PREEMPT Sun Nov 27 09:26:14 CET 2016 [machine] => x86_64 [domainname] => (none) )
Output for 7.0.14
Array ( [sysname] => Linux [nodename] => php_shell [release] => 4.8.6-1-ARCH [version] => #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016 [machine] => x86_64 [domainname] =>  )
Output for 7.0.12
Array ( [sysname] => Linux [nodename] => php_shell [release] => 4.7.6-1-ARCH [version] => #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 [machine] => x86_64 [domainname] => (none) )
Output for 5.5.25 - 5.5.32, 5.5.34, 5.6.8 - 5.6.18, 5.6.20 - 5.6.21, hhvm-3.10.0, 7.0.0 - 7.0.3, 7.0.5 - 7.0.6
Array ( [sysname] => Linux [nodename] => php_shell [release] => 4.4.5-1-ARCH [version] => #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 [machine] => x86_64 [domainname] => (none) )
Output for 5.4.0 - 5.4.12, 5.4.14, 5.4.18 - 5.4.45, 5.5.33, 5.6.19, hhvm-3.12.0, 7.0.4
Array ( [sysname] => Linux [nodename] => php_shell [release] => 4.4.1-2-ARCH [version] => #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016 [machine] => x86_64 [domainname] => (none) )
Output for 5.5.24, 5.5.35 - 5.6.7
Array ( [sysname] => Linux [nodename] => php_shell [release] => 4.5.4-1-ARCH [version] => #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 [machine] => x86_64 [domainname] => (none) )
Output for 4.3.0 - 5.3.29, 5.4.13, 5.4.15 - 5.4.17
Array ( [sysname] => Linux [nodename] => php_shell [release] => 4.4.1-2-ARCH [version] => #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016 [machine] => x86_64 )