3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(md5('240610708') == md5('QNKCDZO')); var_dump(md5('aabg7XSs') == md5('aabC9RqS')); var_dump(sha1('aaroZmOk') == sha1('aaK1STfY')); var_dump(sha1('aaO8zKZF') == sha1('aa3OFF9m')); var_dump('0010e2' == '1e3'); var_dump('0x1234Ab' == '1193131'); var_dump('0xABCdef' == ' 0xABCdef');
based on 2vrMi

Here you find the average performance (time & memory) of each version. A greyed 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.2.20.0120.01018.67
7.2.10.0190.01218.20
7.2.00.0190.01218.03
7.1.140.0110.00817.71
7.1.130.0230.00817.08
7.1.120.0160.00917.12
7.1.110.0180.01116.65
7.1.100.0160.01016.53
7.1.90.0160.01116.47
7.1.80.0170.01116.57
7.1.70.0140.00815.61
7.1.60.0320.01333.51
7.1.50.0260.01533.16
7.1.40.0230.01232.82
7.1.30.0260.01232.86
7.1.20.0270.01333.03
7.1.10.0130.00815.02
7.1.00.0270.01214.98
7.0.270.0220.00916.65
7.0.260.0150.01316.72
7.0.250.0320.01016.22
7.0.240.0180.01016.06
7.0.230.0190.00816.11
7.0.220.0170.00916.10
7.0.210.0080.00815.16
7.0.200.0290.01015.15
7.0.190.0140.01015.31
7.0.180.0340.01114.74
7.0.170.0150.01014.70
7.0.160.0150.01014.72
7.0.150.0140.01014.70
7.0.140.0330.01014.85
7.0.130.0140.00815.05
7.0.120.0190.00915.00
7.0.110.0090.01214.74
7.0.100.0130.01014.82
7.0.90.0090.01214.83
7.0.80.0110.01014.79
7.0.70.0270.01014.77
7.0.60.0130.01014.60
7.0.50.0110.01014.91
7.0.40.0100.01114.92
7.0.30.0090.01214.93
7.0.20.0140.01014.99
7.0.10.0130.00914.82
7.0.00.0140.00914.81
hhvm-3.22.00.0900.20790.22
hhvm-3.21.30.0870.21789.76
hhvm-3.21.00.1070.21489.73
hhvm-3.20.20.0850.21289.94
hhvm-3.19.20.0830.21489.13
hhvm-3.18.50.0780.18387.91
hhvm-3.18.40.0830.19688.06
hhvm-3.17.30.0920.19487.23
hhvm-3.15.40.0920.20384.79
hhvm-3.13.20.0930.19096.26
hhvm-3.12.140.0910.20594.79
hhvm-3.11.10.0820.19587.23
hhvm-3.10.10.0870.19584.28
5.6.300.0170.06720.82
5.6.290.0190.06220.71
5.6.280.0180.06120.87
5.6.270.0120.07020.89
5.6.260.0220.06120.86
5.6.250.0180.06120.85
5.6.240.0130.06820.80
5.6.230.0160.06320.80
5.6.220.0190.06120.78
5.6.210.0160.06820.73
5.6.200.0160.07220.85
5.6.190.0170.06620.78
5.6.180.0150.06520.82
5.6.170.0130.05620.87
5.6.160.0130.06120.81
5.6.150.0170.06320.75
5.6.140.0140.06620.73
5.6.130.0150.05820.85
5.6.120.0210.05920.87
5.6.110.0170.06320.82
5.6.100.0170.06420.79
5.6.90.0130.06220.77
5.6.80.0140.06320.23
5.6.70.0180.05020.17
5.6.60.0140.06020.18
5.6.50.0130.06220.14
5.6.40.0150.05720.18
5.6.30.0180.06320.11
5.6.20.0150.06620.15
5.6.10.0140.06320.11
5.6.00.0140.06720.20
5.5.380.0170.06017.43
5.5.370.0140.05717.44
5.5.360.0160.06017.47
5.5.350.0180.06617.40
5.5.340.0100.06417.98
5.5.330.0130.06317.93
5.5.320.0160.06617.93
5.5.310.0120.06517.95
5.5.300.0130.05917.90
5.5.290.0160.06317.89
5.5.280.0100.06417.92
5.5.270.0120.06817.97
5.5.260.0140.06617.85
5.5.250.0190.05517.67
5.5.240.0170.05617.23
5.5.230.0120.05817.27
5.5.220.0140.06317.27
5.5.210.0100.05617.30
5.5.200.0120.05917.27
5.5.190.0170.06317.24
5.5.180.0140.06517.24
5.5.160.0150.05417.34
5.5.150.0160.06317.30
5.5.140.0130.06317.17
5.5.130.0140.05917.21
5.5.120.0130.05917.30
5.5.110.0120.05717.31
5.5.100.0120.06217.17
5.5.90.0150.05117.14
5.5.80.0130.05317.22
5.5.70.0160.05717.18
5.5.60.0140.06017.11
5.5.50.0160.05917.06
5.5.40.0190.05217.13
5.5.30.0150.05917.11
5.5.20.0140.06517.14
5.5.10.0140.06017.12
5.5.00.0110.06317.16
5.4.450.0140.06519.36
5.4.440.0150.05719.24
5.4.430.0180.05919.26
5.4.420.0140.05919.32
5.4.410.0090.06419.14
5.4.400.0080.05718.96
5.4.390.0150.05618.97
5.4.380.0130.05918.91
5.4.370.0150.05819.02
5.4.360.0110.06219.04
5.4.350.0160.05718.96
5.4.340.0150.06519.01
5.4.320.0170.06018.93
5.4.310.0120.06318.92
5.4.300.0150.05719.02
5.4.290.0120.05518.94
5.4.280.0160.06019.04
5.4.270.0140.05518.94
5.4.260.0180.05218.92
5.4.250.0110.05718.98
5.4.240.0130.05718.96
5.4.230.0160.05318.99
5.4.220.0140.06018.98
5.4.210.0160.05818.94
5.4.200.0170.05918.96
5.4.190.0130.06318.89
5.4.180.0140.05818.93
5.4.170.0170.05119.03
5.4.160.0150.05618.88
5.4.150.0150.06718.90
5.4.140.0210.05916.51
5.4.130.0120.05316.47
5.4.120.0120.05516.42
5.4.110.0080.06016.47
5.4.100.0090.05616.52
5.4.90.0200.05016.54
5.4.80.0130.05216.46
5.4.70.0120.05216.48
5.4.60.0170.04916.54
5.4.50.0120.05316.50
5.4.40.0150.05016.53
5.4.30.0120.05416.32
5.4.20.0150.05516.43
5.4.10.0100.05816.48
5.4.00.0100.05715.89
5.3.290.0150.05514.66
5.3.280.0130.05414.63
5.3.270.0120.05814.66
5.3.260.0120.05814.67
5.3.250.0160.06414.64
5.3.240.0150.05914.65
5.3.230.0160.05514.73
5.3.220.0150.05314.70
5.3.210.0110.06114.59
5.3.200.0120.05114.69
5.3.190.0170.05114.69
5.3.180.0120.05614.65
5.3.170.0110.05814.66
5.3.160.0110.05414.60
5.3.150.0130.05414.60
5.3.140.0120.06014.65
5.3.130.0150.05814.56
5.3.120.0120.05814.63
5.3.110.0160.05514.53
5.3.100.0110.05714.16
5.3.90.0120.06014.06
5.3.80.0140.04914.11
5.3.70.0110.06014.05
5.3.60.0120.05314.10
5.3.50.0100.05614.03
5.3.40.0100.05613.92
5.3.30.0120.05513.97
5.3.20.0120.04913.75
5.3.10.0140.04913.66
5.3.00.0120.05913.68
5.2.170.0080.04611.18
5.2.160.0100.04411.20
5.2.150.0080.05211.11
5.2.140.0080.04711.30
5.2.130.0110.04411.10
5.2.120.0110.04611.20
5.2.110.0120.04611.14
5.2.100.0090.04511.19
5.2.90.0120.04011.15
5.2.80.0100.04611.19
5.2.70.0110.04011.16
5.2.60.0080.04611.14
5.2.50.0110.04311.15
5.2.40.0070.04511.14
5.2.30.0090.04711.00
5.2.20.0100.04611.06
5.2.10.0090.04011.02
5.2.00.0110.04310.89
5.1.60.0090.04010.11
5.1.50.0090.03310.00
5.1.40.0080.03610.10
5.1.30.0100.03910.45
5.1.20.0050.04210.50
5.1.10.0090.04010.13
5.1.00.0120.03610.13
5.0.50.0080.0279.09
5.0.40.0070.0269.09
5.0.30.0070.0489.09
5.0.20.0070.0269.09
5.0.10.0050.0329.09
5.0.00.0080.0449.09
4.4.90.0040.0249.09
4.4.80.0080.0189.09
4.4.70.0050.0269.09
4.4.60.0060.0249.09
4.4.50.0070.0239.09
4.4.40.0050.0399.09
4.4.30.0040.0279.09
4.4.20.0080.0209.09
4.4.10.0050.0239.09
4.4.00.0070.0319.09
4.3.110.0060.0219.09
4.3.100.0050.0219.09
4.3.90.0060.0199.09
4.3.80.0050.0349.09
4.3.70.0060.0229.09
4.3.60.0070.0219.09
4.3.50.0060.0249.09
4.3.40.0040.0349.09
4.3.30.0030.0269.09
4.3.20.0030.0269.09
4.3.10.0030.0279.09
4.3.00.0050.0209.09