3v4l.org

run code in 300+ PHP versions simultaneously
<?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');

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.20.0120.00717.48
8.4.10.0090.00917.31
8.3.150.0050.00517.12
8.3.140.0140.00016.82
8.3.130.0160.00317.29
8.3.120.0090.00717.28
8.3.110.0240.00718.53
8.3.100.0190.00919.16
8.3.90.0240.00419.73
8.3.80.0270.00318.22
8.3.70.0210.00917.54
8.3.60.0230.00919.50
8.3.50.0190.00818.81
8.3.40.0210.00718.49
8.3.30.0170.01018.32
8.3.20.0150.00919.61
8.3.10.0190.00619.78
8.3.00.0130.00718.79
8.2.270.0140.00316.29
8.2.260.0100.00816.27
8.2.250.0100.00317.40
8.2.240.0110.00516.64
8.2.230.0190.00818.84
8.2.220.0220.00521.82
8.2.210.0210.00519.58
8.2.200.0220.00617.51
8.2.190.0220.00717.28
8.2.180.0220.00517.29
8.2.170.0250.00618.46
8.2.160.0220.00719.18
8.2.150.0190.00719.27
8.2.140.0240.00419.79
8.2.130.0200.00719.97
8.2.120.0220.00419.09
8.2.110.0190.00719.61
8.2.100.0210.00618.82
8.2.90.0160.00818.44
8.2.80.0190.00618.60
8.2.70.0170.00618.42
8.2.60.0150.00718.42
8.2.50.0190.00518.56
8.2.40.0140.00618.55
8.2.30.0140.00718.53
8.2.20.0150.00418.41
8.2.10.0140.00618.19
8.2.00.0170.00518.25
8.1.310.0130.00517.14
8.1.300.0190.00716.69
8.1.290.0210.00517.88
8.1.280.0260.00518.51
8.1.270.0170.00620.03
8.1.260.0220.00720.19
8.1.250.0210.00520.40
8.1.240.0160.00618.83
8.1.230.0180.00518.87
8.1.220.0160.00518.39
8.1.210.0130.00818.71
8.1.200.0170.00618.30
8.1.190.0180.00418.20
8.1.180.0160.00518.20
8.1.170.0160.00618.35
8.1.160.0150.00518.25
8.1.150.0140.00618.46
8.1.140.0150.00618.18
8.1.130.0140.00618.14
8.1.120.0140.00718.15
8.1.110.0130.00818.21
8.1.100.0120.00618.11
8.1.90.0140.00518.16
8.1.80.0140.00518.23
8.1.70.0130.00618.03
8.1.60.0160.00518.08
8.1.50.0150.00617.99
8.1.40.0170.00318.07
8.1.30.0150.00518.15
8.1.20.0160.00518.25
8.1.10.0150.00617.90
8.1.00.0160.00517.91
8.0.300.0170.00617.91
8.0.290.0190.00517.59
8.0.280.0160.00617.60
8.0.270.0180.00517.61
8.0.260.0160.00517.50
8.0.250.0150.00617.52
8.0.240.0150.00517.46
8.0.230.0160.00617.52
8.0.220.0160.00617.43
8.0.210.0160.00617.36
8.0.200.0170.00417.40
8.0.190.0170.00417.33
8.0.180.0150.00517.33
8.0.170.0150.00417.35
8.0.160.0140.00517.40
8.0.150.0140.00517.27
8.0.140.0150.00517.27
8.0.130.0140.00517.17
8.0.120.0160.00417.27
8.0.110.0130.00517.30
8.0.100.0130.00417.21
8.0.90.0120.00517.22
8.0.80.0120.00517.27
8.0.70.0120.00517.27
8.0.60.0120.00517.22
8.0.50.0120.00617.21
8.0.30.0130.00617.16
8.0.20.0120.00717.19
8.0.10.0130.00717.18
8.0.00.0120.00617.43
7.4.330.0120.00516.46
7.4.320.0140.00517.25
7.4.300.0140.00517.29
7.4.290.0140.00517.15
7.4.280.0140.00517.12
7.4.270.0140.00517.10
7.4.260.0130.00517.09
7.4.250.0140.00417.13
7.4.240.0120.00517.07
7.4.230.0130.00517.00
7.4.220.0130.00417.01
7.4.210.0120.00516.96
7.4.200.0130.00516.94
7.4.190.0130.00517.03
7.4.180.0140.00417.06
7.4.160.0120.00616.86
7.4.150.0120.00716.77
7.4.140.0130.00616.78
7.4.130.0130.00616.68
7.4.120.0140.00616.65
7.4.110.0130.00616.61
7.4.100.0130.00616.71
7.4.90.0140.00616.64
7.4.80.0120.00716.60
7.4.70.0130.00616.61
7.4.60.0130.00716.57
7.4.50.0130.00716.51
7.4.40.0140.00716.51
7.4.30.0120.00716.56
7.4.20.0130.00716.52
7.4.10.0120.00716.50
7.4.00.0110.00716.52
7.3.330.0170.00416.78
7.3.320.0160.00616.72
7.3.310.0150.00616.78
7.3.300.0150.00416.82
7.3.290.0140.00516.72
7.3.280.0130.00616.61
7.3.270.0150.00616.54
7.3.260.0140.00616.54
7.3.250.0150.00616.53
7.3.240.0140.00616.52
7.3.230.0140.00716.52
7.3.220.0150.00716.46
7.3.210.0150.00616.45
7.3.200.0130.00716.44
7.3.190.0140.00616.43
7.3.180.0130.00716.43
7.3.170.0130.00716.43
7.3.160.0140.00716.42
7.3.150.0140.00716.42
7.3.140.0130.00816.41
7.3.130.0130.00716.39
7.3.120.0130.00716.35
7.3.110.0120.00716.29
7.3.100.0120.00716.28
7.3.90.0110.00815.78
7.3.80.0120.00815.73
7.3.70.0110.00715.71
7.3.60.0110.00815.62
7.3.50.0110.00715.61
7.3.40.0110.00815.58
7.3.30.0110.00715.55
7.3.20.0180.00816.11
7.3.10.0210.00816.05
7.3.00.0240.00816.02
7.2.340.0150.00716.65
7.2.330.0160.00716.57
7.2.320.0140.00816.60
7.2.310.0150.00716.56
7.2.300.0150.00716.53
7.2.290.0140.00716.54
7.2.280.0150.00816.51
7.2.270.0150.00716.53
7.2.260.0150.00716.48
7.2.250.0140.00716.45
7.2.240.0130.00816.41
7.2.230.0140.00816.43
7.2.220.0120.00815.86
7.2.210.0120.00815.84
7.2.200.0130.00815.85
7.2.190.0120.00815.73
7.2.180.0120.00715.80
7.2.170.0120.00815.76
7.2.160.0120.00815.73
7.2.150.0200.00816.29
7.2.140.0210.00916.29
7.2.130.0260.00816.23
7.2.120.0240.00816.22
7.2.110.0240.00816.20
7.2.100.0260.00816.16
7.2.90.0230.00816.18
7.2.80.0240.00816.16
7.2.70.0220.00816.16
7.2.60.0230.00916.14
7.2.50.0250.00716.17
7.2.40.0220.00816.20
7.2.30.0250.00816.18
7.2.20.0240.00816.16
7.2.10.0250.00916.19
7.2.00.0220.00816.15
7.1.330.0170.00716.10
7.1.320.0160.00815.56
7.1.310.0170.00715.55
7.1.300.0150.00715.35
7.1.290.0140.00715.37
7.1.280.0140.00815.35
7.1.270.0180.00815.35
7.1.260.0150.00815.31
7.1.250.0250.00715.20
7.1.240.0260.00715.16
7.1.230.0270.00815.17
7.1.220.0270.00815.17
7.1.210.0260.00715.13
7.1.200.0250.00715.14
7.1.190.0250.00815.14
7.1.180.0260.00815.10
7.1.170.0230.00815.13
7.1.160.0260.00715.13
7.1.150.0240.00715.13
7.1.140.0250.00715.13
7.1.130.0250.00715.11
7.1.120.0250.00715.09
7.1.110.0250.00715.12
7.1.100.0230.00815.13
7.1.90.0230.00715.12
7.1.80.0230.00815.14
7.1.70.0250.00815.13
7.1.60.0240.00815.81
7.1.50.0220.00815.84
7.1.40.0220.00815.76
7.1.30.0220.00815.79
7.1.20.0250.00815.78
7.1.10.0240.00715.10
7.1.00.0230.00715.09
7.0.330.0250.00714.87
7.0.320.0260.00814.85
7.0.310.0260.00814.80
7.0.300.0250.00714.81
7.0.290.0270.00714.77
7.0.280.0230.00714.79
7.0.270.0260.00714.81
7.0.260.0260.00714.78
7.0.250.0250.00714.86
7.0.240.0250.00714.86
7.0.230.0250.00714.87
7.0.220.0220.00814.88
7.0.210.0220.00814.87
7.0.200.0230.00714.86
7.0.190.0230.00814.86
7.0.180.0240.00714.82
7.0.170.0210.00814.86
7.0.160.0210.00714.82
7.0.150.0200.00814.82
7.0.140.0210.00714.81
7.0.130.0240.00714.87
7.0.120.0220.00814.84
7.0.110.0230.00714.85
7.0.100.0220.00714.83
7.0.90.0210.00714.81
7.0.80.0230.00714.79
7.0.70.0210.00714.79
7.0.60.0220.00714.83
7.0.50.0200.00814.85
7.0.40.0220.00714.86
7.0.30.0200.00714.86
7.0.20.0210.00814.82
7.0.10.0230.00814.84
7.0.00.0220.00714.81
5.6.400.0140.00915.15
5.6.390.0140.00815.11
5.6.380.0140.00814.97
5.6.370.0140.00914.99
5.6.360.0140.00814.98
5.6.350.0140.00814.97
5.6.340.0140.00914.98
5.6.330.0130.00914.97
5.6.320.0140.00914.97
5.6.310.0130.00914.97
5.6.300.0140.00914.94
5.6.290.0130.00914.99
5.6.280.0140.00814.97
5.6.270.0130.00814.98
5.6.260.0140.00814.98
5.6.250.0130.00914.97
5.6.240.0140.00814.96
5.6.230.0140.00814.99
5.6.220.0130.00914.97
5.6.210.0140.00814.97
5.6.200.0140.00814.99
5.6.190.0130.00915.00
5.6.180.0140.00814.96
5.6.170.0140.00814.95
5.6.160.0140.00814.95
5.6.150.0140.00814.96
5.6.140.0140.00914.96
5.6.130.0140.00814.98
5.6.120.0140.00814.97
5.6.110.0140.00914.93
5.6.100.0140.00814.94
5.6.90.0140.00814.94
5.6.80.0130.00914.89
5.6.70.0130.00914.91
5.6.60.0130.00814.91
5.6.50.0130.00814.90
5.6.40.0130.00814.89
5.6.30.0130.00814.89
5.6.20.0130.00914.88
5.6.10.0140.00914.89
5.6.00.0130.00814.89
5.5.380.0140.00814.56
5.5.370.0140.00814.56
5.5.360.0130.00814.49
5.5.350.0130.00814.54
5.5.340.0140.00814.52
5.5.330.0140.00714.50
5.5.320.0140.00814.52
5.5.310.0140.00814.53
5.5.300.0140.00814.53
5.5.290.0140.00814.50
5.5.280.0140.00814.52
5.5.270.0140.00814.49
5.5.260.0140.00814.53
5.5.250.0130.00814.51
5.5.240.0130.00814.51
5.5.230.0130.00814.50
5.5.220.0130.00814.49
5.5.210.0130.00814.53
5.5.200.0130.00814.47
5.5.190.0140.00814.46
5.5.180.0140.00814.43
5.5.170.0130.00914.63
5.5.160.0140.00814.46
5.5.150.0140.00814.46
5.5.140.0130.00814.42
5.5.130.0140.00814.43
5.5.120.0140.00814.42
5.5.110.0130.00814.44
5.5.100.0130.00814.47
5.5.90.0140.00714.49
5.5.80.0130.00814.46
5.5.70.0130.00814.47
5.5.60.0130.00814.46
5.5.50.0130.00814.47
5.5.40.0130.00814.47
5.5.30.0130.00814.47
5.5.20.0130.00814.45
5.5.10.0130.00814.41
5.5.00.0140.00714.43
5.4.450.0110.00612.49
5.4.440.0110.00512.48
5.4.430.0110.00612.48
5.4.420.0110.00612.48
5.4.410.0100.00612.48
5.4.400.0100.00612.44
5.4.390.0110.00612.45
5.4.380.0110.00512.45
5.4.370.0110.00612.46
5.4.360.0110.00612.46
5.4.350.0100.00612.46
5.4.340.0110.00612.46
5.4.330.0110.00612.47
5.4.320.0110.00612.46
5.4.310.0100.00612.47
5.4.300.0110.00612.47
5.4.290.0110.00612.45
5.4.280.0110.00512.44
5.4.270.0110.00612.45
5.4.260.0100.00612.43
5.4.250.0100.00612.44
5.4.240.0100.00612.45
5.4.230.0110.00612.42
5.4.220.0100.00612.42
5.4.210.0100.00612.41
5.4.200.0110.00612.41
5.4.190.0100.00612.40
5.4.180.0100.00612.47
5.4.170.0100.00612.42
5.4.160.0100.00612.41
5.4.150.0100.00612.41
5.4.140.0110.00512.45
5.4.130.0100.00612.46
5.4.120.0110.00612.47
5.4.110.0100.00612.46
5.4.100.0100.00612.46
5.4.90.0100.00612.45
5.4.80.0100.00612.47
5.4.70.0100.00612.46
5.4.60.0100.00512.47
5.4.50.0110.00512.45
5.4.40.0100.00612.45
5.4.30.0100.00612.46
5.4.20.0100.00612.46
5.4.10.0110.00612.46
5.4.00.0110.00512.42

preferences:
91.91 ms | 403 KiB | 5 Q