3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php new stdclass instanceof \yii\base\String;

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.10.0030.01116.55
7.3.00.0060.00816.42
7.2.130.0060.00816.66
7.2.120.0070.00816.66
7.2.110.0080.00616.76
7.2.100.0080.00816.70
7.2.90.0050.00616.75
7.2.80.0030.00916.66
7.2.70.0070.00716.75
7.2.60.0010.01216.57
7.2.50.0080.00516.86
7.2.40.0050.00616.82
7.2.30.0030.00816.57
7.2.20.0030.01516.47
7.2.10.0070.00716.73
7.2.00.0060.00717.51
7.1.250.0100.00515.47
7.1.200.0040.00815.55
7.1.100.0040.00817.67
7.1.70.0000.00717.06
7.1.60.0130.01019.46
7.1.50.0030.01716.53
7.1.00.0070.07322.28
7.0.200.0060.00614.87
7.0.140.0070.06722.09
7.0.60.0100.04720.02
7.0.50.0070.08017.86
7.0.40.0100.06320.40
7.0.30.0530.04320.21
7.0.20.0270.06320.00
7.0.10.0100.03720.20
7.0.00.0130.04020.20
5.6.280.0030.07321.10
5.6.210.0000.06720.46
5.6.200.0130.08018.21
5.6.190.0000.05020.44
5.6.180.0470.05720.45
5.6.170.0300.05320.49
5.6.160.0070.08720.35
5.6.150.0070.03718.17
5.6.140.0100.03318.17
5.6.130.0000.04318.21
5.6.120.0200.06721.11
5.6.110.0000.06321.00
5.6.100.0130.05020.96
5.6.90.0070.08720.87
5.6.80.0030.08320.38
5.5.350.0370.07020.39
5.5.340.0070.05717.89
5.5.330.0270.03720.38
5.5.320.0030.07320.28
5.5.310.0300.05320.18
5.5.300.0000.06017.95
5.5.290.0030.08317.94
5.5.280.0100.08020.68
5.5.270.0130.08020.74
5.5.260.0030.04020.86
5.5.250.0070.05020.69
5.5.240.0100.07720.02
5.4.450.0530.05319.61
5.4.440.0600.05719.25
5.4.430.0170.04719.32
5.4.420.0100.05719.26
5.4.410.0130.05019.36
5.4.400.0200.04319.17
5.4.390.0270.05318.75
5.4.380.0230.05018.75
5.4.370.0270.04318.58
5.4.360.0270.05318.50
5.4.350.0170.05718.67
5.4.340.0170.05718.69
5.4.320.0230.05718.75
5.4.310.0270.04718.48
5.4.300.0170.05318.61
5.4.290.0100.05718.66
5.4.280.0200.05318.48
5.4.270.0200.05018.60
5.4.260.0230.05018.51
5.4.250.0130.06018.48
5.4.240.0300.04718.51
5.4.230.0300.04018.47
5.4.220.0200.06018.69
5.4.210.0170.05718.47
5.4.200.0230.05016.41
5.4.190.0200.05018.44
5.4.180.0070.06318.64
5.4.170.0230.05718.75
5.4.160.0200.05018.38
5.4.150.0170.05718.59
5.4.140.0170.05016.25
5.4.130.0330.03316.36
5.4.120.0270.04016.22
5.4.110.0200.04716.18
5.4.100.0130.05716.21
5.4.90.0300.04016.21
5.4.80.0200.04716.17
5.4.70.0130.05316.01
5.4.60.0230.04316.19
5.4.50.0170.04716.13
5.4.40.0300.04716.28
5.4.30.0200.05016.18
5.4.20.0230.04716.00
5.4.10.0270.04716.12
5.4.00.0100.05715.68
5.3.290.0170.06014.76
5.3.280.0200.05314.68
5.3.270.0100.06014.60
5.3.260.0230.04714.66
5.3.250.0170.06314.59
5.3.240.0070.06314.52
5.3.230.0070.06014.55
5.3.220.0170.05014.64
5.3.210.0300.04014.59
5.3.200.0070.06314.54
5.3.190.0100.05714.64
5.3.180.0130.05314.71
5.3.170.0200.04714.66
5.3.160.0130.05314.47
5.3.150.0170.05714.59
5.3.140.0130.05714.48
5.3.130.0100.05714.61
5.3.120.0130.05314.45
5.3.110.0170.05314.45
5.3.100.0230.05314.01
5.3.90.0170.05314.11
5.3.80.0170.05014.09
5.3.70.0230.04713.95
5.3.60.0130.05313.98
5.3.50.0270.04313.90
5.3.40.0200.05013.92
5.3.30.0170.04713.83
5.3.20.0230.04013.80
5.3.10.0170.04713.58
5.3.00.0130.05013.56
5.2.170.0100.05011.12
5.2.160.0200.03311.07
5.2.150.0170.04311.13
5.2.140.0100.04311.11
5.2.130.0130.04311.14
5.2.120.0200.03311.07
5.2.110.0130.03711.10
5.2.100.0170.04311.28
5.2.90.0230.03311.11
5.2.80.0270.04011.15
5.2.70.0170.04711.23
5.2.60.0100.05011.03
5.2.50.0100.05710.98
5.2.40.0100.04310.93
5.2.30.0130.04711.00
5.2.20.0270.03010.88
5.2.10.0130.04310.91
5.2.00.0100.04310.77
5.1.60.0130.03310.02
5.1.50.0100.04010.00
5.1.40.0200.04710.01
5.1.30.0070.04310.35
5.1.20.0170.03710.36
5.1.10.0100.03710.16
5.1.00.0170.04310.21
5.0.50.0070.0378.52
5.0.40.0070.0308.41
5.0.30.0030.0478.19
5.0.20.0030.0308.21
5.0.10.0030.0338.19
5.0.00.0170.0478.19
4.4.90.0100.0175.91
4.4.80.0070.0205.86
4.4.70.0030.0235.81
4.4.60.0070.0235.92
4.4.50.0030.0235.88
4.4.40.0100.0305.87
4.4.30.0100.0175.89
4.4.20.0130.0175.98
4.4.10.0100.0275.97
4.4.00.0030.0405.93
4.3.110.0030.0235.79
4.3.100.0070.0205.84
4.3.90.0030.0235.80
4.3.80.0100.0335.78
4.3.70.0030.0235.86
4.3.60.0070.0205.82
4.3.50.0030.0275.78
4.3.40.0030.0405.88
4.3.30.0070.0204.62
4.3.20.0130.0134.56
4.3.10.0030.0234.47
4.3.00.0130.0279.24