3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $count = 0; if(is_callable("posix_getpwuid")){ while($count < 9000) { $stuff = posix_getpwuid($count); if($stuff != NULL) { extract($stuff); echo "$name:$passwd:$uid:$gid:$gecos:$dir:$shell\n"; } $count = $count + 1; } }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.0rc40.0590.04398.97
7.3.0rc30.0640.03616.71
7.3.0beta10.0510.04113.01
7.3.0alpha10.0440.03712.99
7.2.60.0510.03416.97
7.2.00.0360.03619.49
7.1.200.0550.02915.85
7.1.100.0400.04718.52
7.1.70.0440.03817.42
7.1.60.0620.02919.24
7.1.50.0550.04417.24
7.1.00.0400.10022.57
7.0.200.0570.01317.02
7.0.140.0530.09022.12
7.0.70.0130.06320.05
7.0.60.0130.05320.11
7.0.50.0230.04320.50
7.0.40.0130.06720.21
7.0.30.0170.06320.32
7.0.20.0170.06020.27
7.0.10.0130.06320.26
7.0.00.0170.04720.13
5.6.280.0400.10321.10
5.6.220.0170.06720.71
5.6.210.0130.06020.62
5.6.200.0170.06021.06
5.6.190.0130.06321.27
5.6.180.0170.08321.06
5.6.170.0170.06021.17
5.6.160.0170.05721.10
5.6.150.0130.06021.25
5.6.140.0200.06021.18
5.6.130.0200.07021.27
5.6.120.0230.10321.27
5.6.110.0230.10721.13
5.6.100.0330.10321.07
5.6.90.0230.07721.23
5.6.80.0330.10720.55
5.6.70.0270.10720.58
5.6.60.0400.09320.57
5.6.50.0270.11320.61
5.6.40.0230.09320.61
5.6.30.0300.06020.59
5.6.20.0300.10720.41
5.6.10.0230.10720.58
5.6.00.0300.10320.58
5.5.360.0170.05720.54
5.5.350.0100.06320.63
5.5.340.0100.06720.96
5.5.330.0170.05720.89
5.5.320.0230.08721.02
5.5.310.0200.06020.88
5.5.300.0170.06320.88
5.5.290.0270.05320.83
5.5.280.0200.08321.07
5.5.270.0230.12020.93
5.5.260.0170.10721.09
5.5.250.0330.10320.86
5.5.240.0270.11020.43
5.5.230.0230.11320.40
5.5.220.0230.09020.25
5.5.210.0270.11320.40
5.5.200.0300.11320.20
5.5.190.0370.06020.37
5.5.180.0270.09320.28
5.5.160.0100.08020.41
5.5.150.0270.10020.39
5.5.140.0400.09320.36
5.5.130.0300.06720.42
5.5.120.0330.07720.32
5.5.110.0300.09320.34
5.5.100.0370.08720.20
5.5.90.0200.06320.29
5.5.80.0430.10020.09
5.5.70.0200.10720.28
5.5.60.0200.10320.27
5.5.50.0230.09720.28
5.5.40.0170.12320.15
5.5.30.0300.10720.11
5.5.20.0300.10320.17
5.5.10.0200.08320.16
5.5.00.0370.09020.29
5.4.450.0170.05719.39
5.4.440.0300.10719.39
5.4.430.0270.10319.42
5.4.420.0300.10719.32
5.4.410.0300.06719.44
5.4.400.0270.10719.27
5.4.390.0330.09719.21
5.4.380.0200.06019.21
5.4.370.0230.10319.11
5.4.360.0430.09319.30
5.4.350.0370.09719.28
5.4.340.0330.08719.06
5.4.320.0270.09019.15
5.4.310.0230.11019.20
5.4.300.0170.12019.20
5.4.290.0200.09719.06
5.4.280.0370.09319.20
5.4.270.0300.09319.10
5.4.260.0270.10319.08
5.4.250.0070.07719.34
5.4.240.0200.11319.34
5.4.230.0300.08019.27
5.4.220.0230.06719.32
5.4.210.0470.08719.05
5.4.200.0230.09719.14
5.4.190.0430.08318.98
5.4.180.0400.09018.96
5.4.170.0300.07719.20
5.4.160.0370.08319.34
5.4.150.0230.05019.28
5.4.140.0230.09716.54
5.4.130.0270.10016.50
5.4.120.0200.09316.68
5.4.110.0330.10716.50
5.4.100.0200.11316.55
5.4.90.0300.09716.68
5.4.80.0300.08316.48
5.4.70.0200.06016.55
5.4.60.0270.05016.42
5.4.50.0200.06016.47
5.4.40.0270.10016.61
5.4.30.0230.10016.50
5.4.20.0330.08016.57
5.4.10.0370.10316.41
5.4.00.0270.07016.00
5.3.290.0400.08714.61
5.3.280.0170.08314.59
5.3.270.0230.09014.57
5.3.260.0200.10714.61
5.3.250.0230.05714.62
5.3.240.0270.05714.62
5.3.230.0300.04714.58
5.3.220.0330.10314.66
5.3.210.0230.09314.59
5.3.200.0370.08314.49
5.3.190.0270.09714.57
5.3.180.0300.08314.49
5.3.170.0370.08314.49
5.3.160.0230.10714.53
5.3.150.0300.05314.51
5.3.140.0230.09714.48
5.3.130.0100.08014.54
5.3.120.0270.08714.49
5.3.110.0130.06014.56
5.3.100.0230.10014.02
5.3.90.0270.09713.96
5.3.80.0270.10014.11
5.3.70.0200.10014.05
5.3.60.0200.10713.99
5.3.50.0230.09313.98
5.3.40.0270.06713.93
5.3.30.0200.05713.85
5.3.20.0270.09013.68
5.3.10.0300.10013.64
5.3.00.0230.11313.66
5.2.170.0130.07012.26
5.2.160.0330.08312.26
5.2.150.0300.08312.26
5.2.140.0200.10012.26
5.2.130.0230.08712.26
5.2.120.0330.08712.26
5.2.110.0230.05012.26
5.2.100.0270.09312.26
5.2.90.0370.06012.26
5.2.80.0230.09312.26
5.2.70.0300.09012.26
5.2.60.0400.07312.26
5.2.50.0200.09012.26
5.2.40.0270.08312.26
5.2.30.0070.10312.26
5.2.20.0230.10012.26
5.2.10.0030.06712.26
5.2.00.0170.09012.26
5.1.60.0170.05012.26
5.1.50.0170.08012.26
5.1.40.0370.07312.26
5.1.30.0230.08012.26
5.1.20.0130.09712.26
5.1.10.0270.08712.26
5.1.00.0330.09012.26
5.0.50.0200.05312.26
5.0.40.0170.06012.26
5.0.30.0300.08712.26
5.0.20.0230.03712.26
5.0.10.0330.07012.26
5.0.00.0230.06012.26
4.4.90.0200.03312.26
4.4.80.0200.07312.26
4.4.70.0070.05312.26
4.4.60.0070.04312.26
4.4.50.0030.04712.26
4.4.40.0130.05012.26
4.4.30.0270.05712.26
4.4.20.0070.04712.26
4.4.10.0170.05012.26
4.4.00.0270.07312.26
4.3.110.0130.04012.26
4.3.100.0100.04312.26
4.3.90.0200.04312.26
4.3.80.0270.07312.26
4.3.70.0100.08712.26
4.3.60.0430.05312.26
4.3.50.0200.07312.26
4.3.40.0300.08312.26
4.3.30.0330.07312.26
4.3.20.0030.05712.26
4.3.10.0200.05012.26
4.3.00.0200.07012.26