3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((bool)"1419402017" > 1419402657 - (14 * 24 * 60 * 60)); ?>
based on AgunO

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.0170.00016.50
7.2.130.0090.00616.60
7.2.120.0120.00616.45
7.2.110.0140.00416.93
7.2.100.0160.00316.43
7.2.90.0120.00916.68
7.2.80.0100.00716.93
7.2.70.0090.01216.38
7.2.60.0060.00916.72
7.2.50.0080.00416.63
7.2.40.0030.01016.88
7.2.30.0040.00716.45
7.2.20.0100.00716.72
7.2.10.0040.01216.41
7.2.00.0050.00917.95
7.1.250.0170.00015.57
7.1.240.0100.00615.70
7.1.230.0140.00015.72
7.1.220.0140.00315.81
7.1.210.0040.01515.54
7.1.200.0140.00415.64
7.1.190.0090.00915.30
7.1.180.0060.01015.63
7.1.170.0090.00315.45
7.1.160.0040.00815.15
7.1.150.0080.00815.43
7.1.140.0100.00715.67
7.1.130.0070.00715.65
7.1.120.0070.00415.59
7.1.110.0100.00715.69
7.1.100.0070.00716.84
7.1.90.0060.00915.65
7.1.80.0110.00715.68
7.1.70.0070.00516.51
7.1.60.0090.01117.49
7.1.50.0130.01016.07
7.1.40.0060.01015.39
7.1.30.0120.00815.73
7.1.20.0030.01315.71
7.1.10.0090.00915.72
7.1.00.0080.03819.13
7.0.330.0140.00015.42
7.0.320.0170.00715.29
7.0.310.0140.00315.33
7.0.300.0060.00915.32
7.0.290.0100.00715.28
7.0.280.0100.00715.24
7.0.270.0140.00315.50
7.0.260.0130.00315.27
7.0.250.0080.00815.30
7.0.240.0070.00715.28
7.0.230.0060.01015.07
7.0.220.0110.00015.39
7.0.210.0100.00515.32
7.0.200.0090.00715.84
7.0.190.0070.01415.35
7.0.180.0100.01015.27
7.0.170.0120.00015.39
7.0.160.0090.00415.01
7.0.150.0080.00415.32
7.0.140.0080.04218.57
7.0.130.0120.00615.48
7.0.120.0180.00415.45
7.0.110.0080.01115.41
7.0.100.0100.01515.30
7.0.90.0030.01615.48
7.0.80.0070.01115.44
7.0.70.0090.00915.27
7.0.60.0100.04317.72
7.0.50.0050.02316.58
7.0.40.0030.04216.73
7.0.30.0270.03916.75
7.0.20.0150.04416.79
7.0.10.0080.03116.69
7.0.00.0110.04116.74
hhvm-3.22.00.0440.13990.70
hhvm-3.21.30.0510.12289.85
hhvm-3.21.00.0750.13089.70
hhvm-3.20.20.0690.14289.72
hhvm-3.19.20.0460.12589.33
hhvm-3.18.50.0540.12288.60
hhvm-3.18.40.0420.14688.09
hhvm-3.17.30.0560.11586.83
hhvm-3.15.40.0660.09284.99
hhvm-3.13.20.0470.12796.23
hhvm-3.12.140.0830.13095.03
hhvm-3.11.10.0460.10987.26
hhvm-3.10.10.0500.10084.14
5.6.380.0000.01114.07
5.6.370.0020.00714.27
5.6.360.0030.00713.90
5.6.350.0080.00814.29
5.6.340.0070.01114.34
5.6.330.0030.00913.89
5.6.320.0120.01014.26
5.6.310.0080.00014.19
5.6.300.0060.00614.25
5.6.290.0040.00814.20
5.6.280.0030.04117.42
5.6.270.0040.01114.13
5.6.260.0040.01113.91
5.6.250.0090.00614.38
5.6.240.0070.01014.43
5.6.230.0070.00313.71
5.6.220.0060.00513.89
5.6.210.0090.04217.39
5.6.200.0030.04616.01
5.6.190.0030.02517.29
5.6.180.0240.04017.39
5.6.170.0250.04017.39
5.6.160.0050.04417.34
5.6.150.0080.01816.19
5.6.140.0080.04016.24
5.6.130.0070.02116.13
5.6.120.0020.02417.44
5.6.110.0070.02317.62
5.6.100.0050.04717.57
5.6.90.0070.03717.59
5.6.80.0060.02217.22
5.6.70.0060.00314.09
5.6.60.0060.00614.02
5.6.50.0070.00313.89
5.6.40.0040.00814.15
5.6.30.0070.00314.27
5.6.20.0040.00414.06
5.6.10.0090.00014.18
5.6.00.0000.01414.04
5.5.380.0090.00310.77
5.5.370.0050.00310.80
5.5.360.0080.00310.77
5.5.350.0080.04515.62
5.5.340.0080.02214.41
5.5.330.0050.02315.47
5.5.320.0250.03415.69
5.5.310.0150.04215.54
5.5.300.0060.03414.52
5.5.290.0100.02514.47
5.5.280.0030.04815.85
5.5.270.0090.02215.79
5.5.260.0070.04115.69
5.5.250.0020.04515.68
5.5.240.0070.04115.50
5.5.230.0030.00610.63
5.5.220.0090.00310.75
5.5.210.0000.00610.63
5.5.200.0000.00910.83
5.5.190.0060.00310.53
5.5.180.0040.00410.61
5.5.170.0000.01010.53
5.5.160.0060.00310.62
5.5.150.0030.00710.89
5.5.140.0030.00610.74
5.5.130.0070.00010.77
5.5.120.0070.00410.71
5.5.110.0000.00810.69
5.5.100.0050.00210.98
5.5.90.0000.00810.90
5.5.80.0050.00210.70
5.5.70.0070.00410.51
5.5.60.0040.00410.64
5.5.50.0060.00610.61
5.5.40.0000.01010.83
5.5.30.0000.00610.86
5.5.20.0040.00410.89
5.5.10.0070.00710.74
5.5.00.0030.00610.77
5.4.450.0130.02815.01
5.4.440.0180.01715.15
5.4.430.0120.03015.16
5.4.420.0080.02814.93
5.4.410.0120.03714.71
5.4.400.0040.03414.70
5.4.390.0080.02814.51
5.4.380.0090.03014.64
5.4.370.0150.02214.71
5.4.360.0090.02714.67
5.4.350.0140.01312.13
5.4.340.0070.02212.26
5.4.330.0000.00610.70
5.4.320.0080.01812.27
5.4.310.0030.02412.40
5.4.300.0070.02212.30
5.4.290.0110.01812.38
5.4.280.0050.02012.35
5.4.270.0030.02212.37
5.4.260.0070.02212.45
5.4.250.0100.01812.40
5.4.240.0100.02012.25
5.4.230.0070.01912.32
5.4.220.0120.01712.27
5.4.210.0050.02212.40
5.4.200.0070.02112.29
5.4.190.0080.02012.32
5.4.180.0080.01812.38
5.4.170.0030.02312.46
5.4.160.0050.02312.16
5.4.150.0080.01812.38
5.4.140.0100.01912.29
5.4.130.0030.02312.36
5.4.120.0090.01912.24
5.4.110.0050.02112.10
5.4.100.0060.02012.29
5.4.90.0080.01912.26
5.4.80.0050.02112.17
5.4.70.0070.02012.21
5.4.60.0050.02212.17
5.4.50.0070.02212.18
5.4.40.0050.02312.23
5.4.30.0030.02312.23
5.4.20.0040.02212.07
5.4.10.0120.01712.28
5.4.00.0050.02111.79
5.3.290.0050.02312.58
5.3.280.0030.02512.41
5.3.270.0100.02012.41
5.3.260.0030.02512.38
5.3.250.0050.02212.43
5.3.240.0140.02512.38
5.3.230.0100.02512.43
5.3.220.0030.02312.44
5.3.210.0100.01812.35
5.3.200.0080.02012.23
5.3.190.0100.01912.42
5.3.180.0050.02212.33
5.3.170.0030.02612.39
5.3.160.0090.01912.44
5.3.150.0020.02512.46
5.3.140.0020.02912.42
5.3.130.0020.02512.39
5.3.120.0080.02312.29
5.3.110.0080.01812.33
5.3.100.0060.01812.13
5.3.90.0000.02312.07
5.3.80.0030.02212.09
5.3.70.0020.02412.02
5.3.60.0030.02112.06
5.3.50.0020.02511.97
5.3.40.0050.02312.03
5.3.30.0070.02012.01
5.3.20.0030.02511.79
5.3.10.0080.01811.79
5.3.00.0110.02011.79
5.2.170.0050.01810.51
5.2.160.0060.01810.48
5.2.150.0000.02810.48
5.2.140.0030.02210.48
5.2.130.0020.02210.49
5.2.120.0080.01810.46
5.2.110.0080.01810.53
5.2.100.0030.02010.49
5.2.90.0040.01810.56
5.2.80.0070.01510.50
5.2.70.0050.01910.49
5.2.60.0030.01810.53
5.2.50.0020.02010.53
5.2.40.0050.01810.40
5.2.30.0060.01810.42
5.2.20.0050.01910.39
5.2.10.0030.01910.42
5.2.00.0080.01510.35
5.1.60.0060.01310.00
5.1.50.0050.0139.99
5.1.40.0060.01310.02
5.1.30.0030.01510.10
5.1.20.0050.01510.17
5.1.10.0030.01510.01
5.1.00.0030.01610.01
5.0.50.0050.0129.23
5.0.40.0040.0129.18
5.0.30.0020.0209.06
5.0.20.0050.0129.05
5.0.10.0050.0139.04
5.0.00.0040.0209.04
4.4.90.0030.0077.90
4.4.80.0030.0087.89
4.4.70.0020.0097.91
4.4.60.0020.0087.88
4.4.50.0050.0067.92
4.4.40.0030.0137.90
4.4.30.0060.0087.91
4.4.20.0000.0147.95
4.4.10.0000.0137.93
4.4.00.0020.0167.90
4.3.110.0020.0127.86
4.3.100.0030.0087.91
4.3.90.0020.0087.84
4.3.80.0030.0127.93
4.3.70.0050.0067.89
4.3.60.0030.0087.89
4.3.50.0010.0107.88
4.3.40.0020.0157.82
4.3.30.0000.0117.31
4.3.20.0010.0117.20
4.3.10.0010.0107.19
4.3.00.0020.01013.30