3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r( posix_uname() );
based on OAdp3
Output for 5.5.0 - 5.5.38, 7.0.20, 7.1.6, 7.2.0 - 7.3.1
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 5.6.0 - 5.6.38, 7.0.15 - 7.0.19, 7.0.21 - 7.0.33, 7.1.1 - 7.1.5, 7.1.7 - 7.1.25
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.1, 7.0.4, 7.0.6 - 7.0.8, 7.0.11 - 7.0.13, 7.1.0
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] => U )
Output for 7.0.0, 7.0.2 - 7.0.3, 7.0.5, 7.0.9 - 7.0.10, 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] => V )
Output for 5.4.10 - 5.4.12, 5.4.14, 5.4.18 - 5.4.45
Array ( [sysname] => Linux [nodename] => php_shell [release] => 4.2.5-1-ARCH [version] => #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 [machine] => x86_64 [domainname] => (none) )
Output for 5.3.20 - 5.3.29, 5.4.13, 5.4.15 - 5.4.17
Array ( [sysname] => Linux [nodename] => php_shell [release] => 4.2.5-1-ARCH [version] => #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 [machine] => x86_64 )