3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new stdClass; call_user_func('call_user_func','assert','phpinfo',$a);
based on RmUJ0

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.00.0000.01416.62
7.2.130.0090.00616.46
7.2.120.0080.00816.71
7.2.110.0040.01116.73
7.2.100.0070.01016.82
7.2.90.0110.00616.82
7.2.80.0060.00616.74
7.2.70.0090.00616.53
7.2.60.0090.00516.71
7.2.50.0030.01016.86
7.2.40.0070.00716.74
7.2.30.0030.01016.79
7.2.20.0040.01416.84
7.2.10.0070.00716.87
7.2.00.0030.01017.88
7.1.250.0040.01115.79
7.1.240.0000.01115.66
7.1.230.0080.00815.73
7.1.220.0030.00615.76
7.1.210.0030.01115.70
7.1.200.0040.00615.53
7.1.190.0030.00615.76
7.1.180.0000.00915.78
7.1.170.0080.00415.59
7.1.160.0050.00315.66
7.1.150.0110.00415.51
7.1.140.0030.00915.70
7.1.130.0090.00615.73
7.1.120.0070.00715.73
7.1.110.0050.00515.66
7.1.100.0210.00415.48
7.1.90.0070.00715.70
7.1.80.0060.00615.62
7.1.70.0060.00316.38
7.1.60.0030.01317.51
7.1.50.0060.00916.28
7.1.40.0000.01415.68
7.1.30.0040.00715.45
7.1.20.0070.00715.71
7.1.10.0080.00415.52
7.1.00.0050.04018.93
7.0.330.0060.00615.23
7.0.320.0030.00915.28
7.0.310.0070.00415.16
7.0.300.0060.01115.18
7.0.290.0000.00915.57
7.0.280.0100.00315.23
7.0.270.0040.01115.35
7.0.260.0140.00015.59
7.0.250.0100.00315.51
7.0.240.0060.00615.43
7.0.230.0000.01115.52
7.0.220.0040.00715.25
7.0.210.0000.01015.46
7.0.200.0020.01115.91
7.0.190.0040.00715.36
7.0.180.0000.01315.24
7.0.170.0070.00715.16
7.0.160.0060.00615.25
7.0.150.0030.01015.37
7.0.140.0090.00615.42
7.0.130.0000.01615.41
7.0.120.0070.00715.38
7.0.110.0100.00315.49
7.0.100.0000.01815.53
7.0.90.0040.00815.34
7.0.80.0000.01415.34
7.0.70.0000.01215.35
7.0.60.0170.03717.73
7.0.50.0060.03116.73
7.0.40.0070.02216.58
7.0.30.0250.03516.76
7.0.20.0120.03816.83
7.0.10.0080.04316.75
7.0.00.0050.02916.66
hhvm-3.22.00.0670.12490.21
hhvm-3.21.30.0490.11990.14
hhvm-3.21.00.0530.13489.58
hhvm-3.20.20.0670.11490.30
hhvm-3.19.20.0470.12589.64
hhvm-3.18.50.0790.10587.96
hhvm-3.18.40.0500.12287.62
hhvm-3.17.30.0670.11887.81
hhvm-3.15.40.0540.10585.13
hhvm-3.13.20.0690.09996.38
hhvm-3.12.140.0430.12395.66
hhvm-3.11.10.0540.11787.71
hhvm-3.10.10.0360.11684.43
5.6.380.0000.00813.94
5.6.370.0110.00014.21
5.6.360.0030.01114.43
5.6.350.0090.00314.09
5.6.340.0070.00714.41
5.6.330.0060.01014.43
5.6.320.0100.00314.40
5.6.310.0040.00714.23
5.6.300.0090.00314.35
5.6.290.0090.00314.34
5.6.280.0050.03817.42
5.6.270.0070.00714.22
5.6.260.0030.00714.34
5.6.250.0030.01014.09
5.6.240.0060.00914.20
5.6.230.0040.00714.50
5.6.220.0080.00414.07
5.6.210.0120.03717.24
5.6.200.0050.03016.29
5.6.190.0050.04017.43
5.6.180.0220.04217.38
5.6.170.0210.03117.37
5.6.160.0030.03017.37
5.6.150.0030.03816.25
5.6.140.0090.02916.15
5.6.130.0030.05116.27
5.6.120.0080.04817.61
5.6.110.0100.04517.77
5.6.100.0120.04017.71
5.6.90.0000.02817.54
5.6.80.0030.03617.26
5.6.70.0060.00914.22
5.6.60.0070.00314.29
5.6.50.0030.01214.11
5.6.40.0000.00914.29
5.6.30.0100.00314.22
5.6.20.0100.00314.27
5.6.10.0090.00614.14
5.6.00.0070.00714.34
5.5.380.0000.01210.77
5.5.370.0000.01111.05
5.5.360.0080.00411.16
5.5.350.0120.04315.61
5.5.340.0030.03814.45
5.5.330.0090.04215.63
5.5.320.0010.04415.47
5.5.310.0110.02515.48
5.5.300.0080.03614.44
5.5.290.0020.02714.63
5.5.280.0110.04015.85
5.5.270.0020.04515.68
5.5.260.0030.03515.68
5.5.250.0050.04315.95
5.5.240.0180.03115.67
5.5.230.0000.00910.88
5.5.220.0000.00710.96
5.5.210.0030.00610.94
5.5.200.0090.00311.03
5.5.190.0040.00710.92
5.5.180.0060.00010.80
5.5.170.0030.00311.09
5.5.160.0000.00610.93
5.5.150.0050.00510.99
5.5.140.0040.00410.70
5.5.130.0000.01011.05
5.5.120.0000.01211.08
5.5.110.0000.01111.09
5.5.100.0050.00511.02
5.5.90.0070.00310.99
5.5.80.0000.00710.94
5.5.70.0000.00710.53
5.5.60.0030.00610.61
5.5.50.0030.00310.86
5.5.40.0030.00311.01
5.5.30.0040.00810.84
5.5.20.0040.00910.82
5.5.10.0030.00711.02
5.5.00.0060.00610.80
5.4.450.0730.05319.13
5.4.440.0670.04719.13
5.4.430.0730.03719.13
5.4.420.0530.05718.96
5.4.410.0630.04719.28
5.4.400.0570.05018.66
5.4.390.0670.04718.80
5.4.380.0500.06018.93
5.4.370.0500.05719.07
5.4.360.0570.05318.60
5.4.350.0470.06019.09
5.4.340.0730.05319.11
5.4.320.0670.06019.10
5.4.310.0730.05018.87
5.4.300.0730.04719.03
5.4.290.0700.05318.84
5.4.280.0770.05318.80
5.4.270.0630.05719.13
5.4.260.0570.05318.80
5.4.250.0630.04318.80
5.4.240.0730.04718.93
5.4.230.0570.05019.07
5.4.220.0470.06019.10
5.4.210.0730.03318.86
5.4.200.0570.04718.59
5.4.190.0530.05318.80
5.4.180.0630.05018.80
5.4.170.0530.05319.09
5.4.160.0830.04319.03
5.4.150.0670.06318.57
5.4.140.0570.05016.57
5.4.130.0530.05016.26
5.4.120.0600.04316.26
5.4.110.0600.04716.37
5.4.100.0730.04716.28
5.4.90.0670.05316.49
5.3.290.0770.05014.57
5.3.280.0530.05314.55
5.3.270.0630.06014.41
5.3.260.0500.06014.42
5.3.250.0530.05314.42
5.3.240.0630.07014.52
5.3.230.0570.05014.51
5.3.220.0570.04714.34
5.3.210.0530.05314.35
5.3.200.0700.05314.34
5.3.190.0570.05314.60