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.00917.68
8.4.10.0000.01117.36
8.3.150.0120.00619.00
8.3.140.0110.00416.73
8.3.130.0030.00618.49
8.3.120.0110.00418.73
8.3.110.0100.00020.94
8.3.100.0060.00316.36
8.3.90.0090.00926.77
8.3.80.0030.00618.43
8.3.70.0110.01118.31
8.3.60.0110.01118.43
8.3.50.0130.00921.99
8.3.40.0110.00318.45
8.3.30.0090.00619.23
8.3.20.0040.00420.33
8.3.10.0040.00421.93
8.3.00.0080.00019.26
8.2.260.0060.00318.17
8.2.250.0040.00418.41
8.2.240.0060.00317.30
8.2.230.0080.00022.58
8.2.220.0030.00524.06
8.2.210.0040.01426.77
8.2.200.0000.01016.63
8.2.190.0110.01116.58
8.2.180.0000.01616.32
8.2.170.0030.01022.96
8.2.160.0090.00920.44
8.2.150.0090.00624.18
8.2.140.0080.00024.66
8.2.130.0030.00326.16
8.2.120.0090.00022.22
8.2.110.0100.00520.51
8.2.100.0130.00518.12
8.2.90.0060.01018.73
8.2.80.0090.00618.31
8.2.70.0130.00318.01
8.2.60.0070.00818.09
8.2.50.0080.00818.27
8.2.40.0060.00719.21
8.2.30.0080.00718.00
8.2.20.0110.00417.90
8.2.10.0050.00618.02
8.2.00.0050.00617.96
8.1.310.0150.00320.11
8.1.300.0070.01019.82
8.1.290.0080.00018.88
8.1.280.0090.00625.92
8.1.270.0060.00323.92
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00321.11
8.1.230.0070.00421.09
8.1.220.0050.00418.12
8.1.210.0050.00419.27
8.1.200.0110.00517.71
8.1.190.0020.00718.53
8.1.180.0020.00719.07
8.1.170.0060.00919.24
8.1.160.0050.00619.93
8.1.150.0050.00718.95
8.1.140.0060.00418.31
8.1.130.0070.00518.08
8.1.120.0080.00517.93
8.1.110.0110.00517.94
8.1.100.0060.00617.97
8.1.90.0100.00217.95
8.1.80.0080.00617.84
8.1.70.0100.00517.89
8.1.60.0110.00517.94
8.1.50.0100.00517.91
8.1.40.0110.00417.95
8.1.30.0100.00517.94
8.1.20.0090.00517.97
8.1.10.0100.00417.88
8.1.00.0070.00817.87
8.0.300.0060.00818.24
8.0.290.0040.00517.18
8.0.280.0050.00617.86
8.0.270.0060.00517.51
8.0.260.0100.00617.59
8.0.250.0080.00417.53
8.0.240.0110.00117.53
8.0.230.0090.00417.57
8.0.220.0070.00517.42
8.0.210.0120.00317.50
8.0.200.0070.00517.39
8.0.190.0070.00617.41
8.0.180.0090.00317.36
8.0.170.0090.00417.33
8.0.160.0080.00417.37
8.0.150.0080.00517.31
8.0.140.0070.00517.29
8.0.130.0080.00616.62
8.0.120.0070.00517.21
8.0.110.0090.00417.26
8.0.100.0060.00717.21
8.0.90.0100.00317.24
8.0.80.0090.00617.22
8.0.70.0090.00417.21
8.0.60.0110.00517.19
8.0.50.0090.00617.24
8.0.30.0100.00717.20
8.0.20.0110.00717.40
8.0.10.0080.00717.29
8.0.00.0080.00717.27
7.4.330.0080.00415.57
7.4.320.0100.00417.31
7.4.300.0100.00517.05
7.4.290.0090.00717.10
7.4.280.0100.00417.04
7.4.270.0090.00617.07
7.4.260.0120.00417.23
7.4.250.0090.00517.31
7.4.240.0080.00617.19
7.4.230.0110.00617.30
7.4.220.0100.00517.33
7.4.210.0110.00417.28
7.4.200.0080.00617.29
7.4.190.0100.00717.49
7.4.180.0130.00217.52
7.4.160.0090.00517.30
7.4.150.0100.00517.47
7.4.140.0110.00617.51
7.4.130.0110.00616.88
7.4.120.0100.00716.81
7.4.110.0110.00516.79
7.4.100.0140.00516.98
7.4.90.0150.00516.97
7.4.80.0140.00616.86
7.4.70.0140.00616.90
7.4.60.0140.00616.69
7.4.50.0110.00816.70
7.4.40.0120.00616.74
7.4.30.0130.00616.77
7.4.20.0130.00716.78
7.4.10.0130.00616.74
7.4.00.0080.00916.40
7.3.330.0100.00416.21
7.3.320.0120.00616.16
7.3.310.0120.00616.77
7.3.300.0160.00216.71
7.3.290.0100.00916.60
7.3.280.0110.00716.62
7.3.270.0140.00616.99
7.3.260.0140.00616.80
7.3.250.0130.00816.65
7.3.240.0140.00416.73
7.3.230.0130.00516.84
7.3.220.0140.00316.85
7.3.210.0110.00616.77
7.3.200.0120.00417.21
7.3.190.0100.00716.74
7.3.180.0110.00516.68
7.3.170.0110.00716.64
7.3.160.0100.00816.63
7.3.150.0110.00516.55
7.3.140.0100.00716.62
7.3.130.0120.00616.56
7.3.120.0110.00716.35
7.3.110.0120.00616.35
7.3.100.0100.00616.17
7.3.90.0100.00716.29
7.3.80.0100.00616.06
7.3.70.0120.00416.02
7.3.60.0090.00716.12
7.3.50.0110.00616.15
7.3.40.0100.00616.07
7.3.30.0080.00816.12
7.3.20.0100.00617.01
7.3.10.0130.00516.89
7.3.00.0120.00516.98
7.2.340.0110.00417.23
7.2.330.0100.00716.88
7.2.320.0110.00616.86
7.2.310.0120.00616.72
7.2.300.0120.00716.80
7.2.290.0120.00616.72
7.2.280.0130.00516.74
7.2.270.0120.00616.73
7.2.260.0100.00716.76
7.2.250.0100.00716.52
7.2.240.0110.00716.56
7.2.230.0090.00716.37
7.2.220.0100.00716.34
7.2.210.0090.00816.17
7.2.200.0120.00616.18
7.2.190.0090.00716.20
7.2.180.0090.00716.29
7.2.170.0110.00716.30
7.2.160.0120.00616.38
7.2.150.0130.00617.15
7.2.140.0130.00717.14
7.2.130.0120.00617.21
7.2.120.0170.00617.24
7.2.110.0130.00617.19
7.2.100.0130.00517.16
7.2.90.0190.00716.87
7.2.80.0420.00816.92
7.2.70.0230.00916.76
7.2.60.0290.00816.67
7.2.50.0270.00816.61
7.2.40.0190.00916.65
7.2.30.0270.00516.61
7.2.20.0200.00816.60
7.2.10.0250.00816.66
7.2.00.0190.00816.61
7.1.330.0130.00616.79
7.1.320.0120.00616.41
7.1.310.0130.00516.23
7.1.300.0120.00616.23
7.1.290.0110.00716.19
7.1.280.0130.00616.16
7.1.270.0120.00616.26
7.1.260.0130.00616.19
7.1.250.0200.00616.20
7.1.240.0160.00616.24
7.1.230.0150.00416.27
7.1.220.0140.00716.20
7.1.210.0140.00716.00
7.1.200.0370.00515.93
7.1.190.0320.00816.00
7.1.180.0330.00315.97
7.1.170.0250.00715.66
7.1.160.0200.00815.59
7.1.150.0420.00515.67
7.1.140.0220.00715.59
7.1.130.0210.00715.61
7.1.120.0280.00615.62
7.1.110.0200.00615.67
7.1.100.0200.00715.61
7.1.90.0220.00515.68
7.1.80.0240.00715.43
7.1.70.0230.00715.51
7.1.60.0290.00719.63
7.1.50.0250.00619.79
7.1.40.0210.00719.84
7.1.30.0250.00819.76
7.1.20.0220.00719.74
7.1.10.0270.00615.56
7.1.00.0180.00715.59
7.0.330.0160.00615.93
7.0.320.0170.00515.90
7.0.310.0310.00615.69
7.0.300.0240.00715.35
7.0.290.0300.00515.37
7.0.280.0260.00615.66
7.0.270.0290.00515.29
7.0.260.0240.00615.27
7.0.250.0240.00615.46
7.0.240.0270.00615.38
7.0.230.0240.00615.34
7.0.220.0280.00615.25
7.0.210.0210.00615.20
7.0.200.0260.00715.22
7.0.190.0280.00515.38
7.0.180.0220.00615.31
7.0.170.0200.00615.38
7.0.160.0170.00815.35
7.0.150.0160.00615.28
7.0.140.0200.00615.33
7.0.130.0200.00415.34
7.0.120.0190.00615.41
7.0.110.0190.00615.28
7.0.100.0130.00715.30
7.0.90.0170.00615.27
7.0.80.0140.00815.33
7.0.70.0180.00715.30
7.0.60.0150.00615.27
7.0.50.0170.00615.33
7.0.40.0200.00315.32
7.0.30.0210.00515.37
7.0.20.0200.00615.36
7.0.10.0210.00715.38
7.0.00.0180.00615.32
5.6.400.0150.00615.72
5.6.390.0160.00515.80
5.6.380.0130.00815.81
5.6.370.0130.00815.75
5.6.360.0140.00715.67
5.6.350.0130.00815.74
5.6.340.0150.00615.75
5.6.330.0140.00615.70
5.6.320.0110.00815.74
5.6.310.0150.00515.82
5.6.300.0130.00615.32
5.6.290.0130.00615.38
5.6.280.0140.00515.40
5.6.270.0140.00515.40
5.6.260.0110.00715.32
5.6.250.0110.00915.33
5.6.240.0120.00815.33
5.6.230.0130.00715.36
5.6.220.0100.00815.36
5.6.210.0110.00615.35
5.6.200.0100.00815.38
5.6.190.0110.00715.38
5.6.180.0110.00815.35
5.6.170.0110.00715.32
5.6.160.0130.00615.42
5.6.150.0100.00915.35
5.6.140.0120.00715.34
5.6.130.0120.00615.43
5.6.120.0120.00615.34
5.6.110.0130.00715.34
5.6.100.0130.00715.30
5.6.90.0130.00615.23
5.6.80.0140.00615.28
5.6.70.0110.00815.34
5.6.60.0140.00715.31
5.6.50.0130.00815.29
5.6.40.0130.00815.24
5.6.30.0120.00715.27
5.6.20.0120.00815.26
5.6.10.0120.00815.30
5.6.00.0130.00815.27
5.5.380.0100.00814.57
5.5.370.0120.00714.64
5.5.360.0120.00714.57
5.5.350.0120.00614.64
5.5.340.0100.00814.56
5.5.330.0110.00614.47
5.5.320.0120.00714.56
5.5.310.0120.00614.54
5.5.300.0120.00614.61
5.5.290.0120.00714.63
5.5.280.0120.00614.55
5.5.270.0140.00614.51
5.5.260.0120.00714.55
5.5.250.0130.00614.51
5.5.240.0120.00714.50
5.5.230.0090.00914.48
5.5.220.0140.00614.53
5.5.210.0120.00714.55
5.5.200.0120.00714.54
5.5.190.0130.00614.51
5.5.180.0130.00614.50
5.5.170.0130.00715.43
5.5.160.0130.00614.52
5.5.150.0110.00914.41
5.5.140.0150.00514.45
5.5.130.0110.00814.48
5.5.120.0120.00614.50
5.5.110.0130.00514.47
5.5.100.0130.00614.47
5.5.90.0120.00714.57
5.5.80.0120.00814.52
5.5.70.0110.00714.54
5.5.60.0110.00714.53
5.5.50.0110.00814.56
5.5.40.0110.00814.52
5.5.30.0130.00614.57
5.5.20.0120.00714.55
5.5.10.0140.00614.50
5.5.00.0110.00814.46
5.4.450.0120.00412.71
5.4.440.0080.00612.66
5.4.430.0120.00512.72
5.4.420.0110.00512.72
5.4.410.0100.00512.73
5.4.400.0110.00512.69
5.4.390.0110.00412.69
5.4.380.0090.00712.71
5.4.370.0100.00712.65
5.4.360.0120.00412.64
5.4.350.0100.00612.68
5.4.340.0090.00712.69
5.4.330.0110.00613.06
5.4.320.0110.00512.68
5.4.310.0080.00612.68
5.4.300.0120.00412.76
5.4.290.0090.00612.72
5.4.280.0100.00512.68
5.4.270.0110.00412.65
5.4.260.0100.00512.67
5.4.250.0100.00612.68
5.4.240.0110.00412.71
5.4.230.0090.00712.64
5.4.220.0090.00512.62
5.4.210.0100.00512.61
5.4.200.0100.00512.66
5.4.190.0090.00512.62
5.4.180.0100.00512.65
5.4.170.0090.00612.66
5.4.160.0090.00512.70
5.4.150.0070.00712.66
5.4.140.0100.00512.68
5.4.130.0110.00412.73
5.4.120.0110.00512.72
5.4.110.0080.00612.66
5.4.100.0080.00612.68
5.4.90.0090.00612.67
5.4.80.0080.00612.68
5.4.70.0080.00612.69
5.4.60.0090.00512.70
5.4.50.0090.00512.68
5.4.40.0080.00712.69
5.4.30.0080.00612.73
5.4.20.0080.00612.70
5.4.10.0100.00512.69
5.4.00.0100.00412.65

preferences:
34.14 ms | 403 KiB | 5 Q