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');
based on 2vrMi

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.0.30.0160.00716.85
8.0.20.0140.01216.98
8.0.10.0150.01116.94
8.0.00.0130.01016.87
7.4.160.0100.00816.58
7.4.150.0120.01116.41
7.4.140.0130.00916.63
7.4.130.0140.00916.34
7.4.120.0140.00816.37
7.4.110.0150.00816.35
7.4.100.0130.00916.42
7.4.90.0130.00916.38
7.4.80.0120.00816.42
7.4.70.0110.00916.37
7.4.60.0120.00916.32
7.4.50.0120.01016.32
7.4.40.0140.00716.31
7.4.30.0110.00916.35
7.4.20.0110.01016.29
7.4.10.0110.00916.25
7.4.00.0100.00916.25
7.3.270.0140.00916.30
7.3.260.0140.00816.25
7.3.250.0130.01016.19
7.3.240.0140.00816.22
7.3.230.0120.01016.29
7.3.220.0140.01016.21
7.3.210.0120.00816.23
7.3.200.0090.01016.22
7.3.190.0110.00916.21
7.3.180.0120.00916.21
7.3.170.0100.01016.19
7.3.160.0120.00916.21
7.3.150.0110.01016.24
7.3.140.0110.01016.22
7.3.130.0120.00916.20
7.3.120.0110.00816.11
7.3.110.0100.00916.04
7.3.100.0100.00916.04
7.3.90.0090.00915.32
7.3.80.0110.00915.33
7.3.70.0100.00815.26
7.3.60.0100.00815.19
7.3.50.0100.00815.18
7.3.40.0090.00815.15
7.3.30.0090.00815.12
7.3.20.0190.00815.57
7.3.10.0230.00815.54
7.3.00.0270.00815.52
7.2.340.0160.01016.36
7.2.330.0160.01016.37
7.2.320.0140.01016.39
7.2.310.0170.00916.37
7.2.300.0170.00816.36
7.2.290.0130.01016.37
7.2.280.0160.00916.35
7.2.270.0140.00916.39
7.2.260.0140.00816.30
7.2.250.0130.00916.24
7.2.240.0120.01016.19
7.2.230.0140.00916.22
7.2.220.0100.01015.49
7.2.210.0110.00915.44
7.2.200.0110.00915.44
7.2.190.0100.00915.34
7.2.180.0110.00815.40
7.2.170.0110.00815.35
7.2.160.0110.00915.34
7.2.150.0210.00915.79
7.2.140.0230.00915.78
7.2.130.0290.00815.71
7.2.120.0260.00915.72
7.2.110.0270.00915.70
7.2.100.0270.00915.66
7.2.90.0250.00915.70
7.2.80.0270.00815.67
7.2.70.0240.00915.67
7.2.60.0250.00915.66
7.2.50.0280.00815.69
7.2.40.0240.00915.71
7.2.30.0270.00915.70
7.2.20.0260.00815.67
7.2.10.0280.00915.68
7.2.00.0250.00815.65
7.1.330.0200.00815.39
7.1.320.0180.00914.96
7.1.310.0180.00914.95
7.1.300.0150.00814.75
7.1.290.0140.00814.77
7.1.280.0130.00914.77
7.1.270.0180.00914.76
7.1.260.0150.00814.74
7.1.250.0290.00814.67
7.1.240.0300.00814.63
7.1.230.0320.00914.63
7.1.220.0310.00914.62
7.1.210.0290.00814.58
7.1.200.0280.00814.61
7.1.190.0280.00814.60
7.1.180.0300.00814.58
7.1.170.0260.00914.59
7.1.160.0290.00814.59
7.1.150.0270.00814.60
7.1.140.0280.00814.61
7.1.130.0280.00814.58
7.1.120.0290.00814.57
7.1.110.0290.00814.59
7.1.100.0260.00914.61
7.1.90.0260.00814.59
7.1.80.0260.00814.61
7.1.70.0280.00814.63
7.1.60.0260.00915.48
7.1.50.0240.00915.52
7.1.40.0250.00815.42
7.1.30.0250.00915.47
7.1.20.0270.00915.48
7.1.10.0260.00814.59
7.1.00.0250.00814.57
7.0.330.0290.00814.31
7.0.320.0300.00914.28
7.0.310.0300.00914.25
7.0.300.0280.00814.25
7.0.290.0320.00814.21
7.0.280.0260.00814.23
7.0.270.0300.00814.25
7.0.260.0300.00714.21
7.0.250.0280.00814.29
7.0.240.0280.00814.30
7.0.230.0290.00814.30
7.0.220.0240.00814.32
7.0.210.0250.00814.30
7.0.200.0250.00814.29
7.0.190.0260.00914.30
7.0.180.0240.00814.26
7.0.170.0230.00814.27
7.0.160.0240.00814.27
7.0.150.0230.00814.26
7.0.140.0240.00814.26
7.0.130.0280.00814.32
7.0.120.0240.00814.28
7.0.110.0260.00814.28
7.0.100.0240.00814.28
7.0.90.0220.00814.27
7.0.80.0270.00814.23
7.0.70.0230.00814.25
7.0.60.0250.00814.27
7.0.50.0210.00814.32
7.0.40.0240.00814.30
7.0.30.0210.00814.32
7.0.20.0230.00814.26
7.0.10.0260.00814.29
7.0.00.0230.00814.25
5.6.400.0140.01014.67
5.6.390.0150.00914.67
5.6.380.0140.00914.57
5.6.370.0150.01014.58
5.6.360.0150.00914.58
5.6.350.0140.00914.57
5.6.340.0140.00914.57
5.6.330.0140.01014.57
5.6.320.0140.01014.57
5.6.310.0130.01014.56
5.6.300.0140.01014.55
5.6.290.0140.01014.60
5.6.280.0150.00914.59
5.6.270.0140.00914.59
5.6.260.0150.00914.58
5.6.250.0130.01014.60
5.6.240.0140.00914.56
5.6.230.0140.00914.58
5.6.220.0140.01014.56
5.6.210.0140.00914.55
5.6.200.0150.00914.56
5.6.190.0140.01014.58
5.6.180.0150.00914.54
5.6.170.0150.00914.53
5.6.160.0140.00914.52
5.6.150.0140.00914.52
5.6.140.0140.01014.54
5.6.130.0140.00914.58
5.6.120.0140.01014.56
5.6.110.0140.01014.52
5.6.100.0140.01014.54
5.6.90.0150.00914.54
5.6.80.0130.01014.47
5.6.70.0140.00914.47
5.6.60.0140.00914.47
5.6.50.0140.01014.47
5.6.40.0140.00914.48
5.6.30.0140.00914.47
5.6.20.0140.01014.48
5.6.10.0140.01014.48
5.6.00.0140.00914.48
5.5.380.0140.00914.01
5.5.370.0140.00914.02
5.5.360.0140.00913.97
5.5.350.0140.00814.02
5.5.340.0140.00914.00
5.5.330.0140.00813.97
5.5.320.0140.00913.99
5.5.310.0150.00914.01
5.5.300.0140.00914.01
5.5.290.0140.00913.98
5.5.280.0130.00914.00
5.5.270.0140.00913.97
5.5.260.0140.00914.01
5.5.250.0130.00913.94
5.5.240.0140.00913.96
5.5.230.0130.01013.94
5.5.220.0130.00913.93
5.5.210.0130.00913.97
5.5.200.0140.00913.94
5.5.190.0140.00913.94
5.5.180.0140.00913.90
5.5.170.0140.00914.15
5.5.160.0140.00913.93
5.5.150.0140.00913.94
5.5.140.0130.00913.91
5.5.130.0140.00913.93
5.5.120.0140.00913.92
5.5.110.0140.00913.94
5.5.100.0140.00813.92
5.5.90.0140.00813.93
5.5.80.0130.00913.91
5.5.70.0130.00913.94
5.5.60.0130.00913.90
5.5.50.0130.00913.92
5.5.40.0130.00913.92
5.5.30.0130.00913.91
5.5.20.0130.00913.89
5.5.10.0140.00913.88
5.5.00.0140.00813.87
5.4.450.0120.00611.92
5.4.440.0110.00611.90
5.4.430.0110.00611.90
5.4.420.0110.00711.90
5.4.410.0110.00611.91
5.4.400.0100.00711.86
5.4.390.0100.00711.87
5.4.380.0110.00611.86
5.4.370.0110.00611.88
5.4.360.0110.00711.87
5.4.350.0110.00711.87
5.4.340.0110.00611.88
5.4.330.0110.00611.88
5.4.320.0110.00611.86
5.4.310.0110.00611.88
5.4.300.0110.00611.88
5.4.290.0110.00611.86
5.4.280.0110.00611.85
5.4.270.0110.00611.87
5.4.260.0100.00711.85
5.4.250.0110.00711.86
5.4.240.0110.00611.87
5.4.230.0110.00611.86
5.4.220.0110.00611.86
5.4.210.0110.00611.85
5.4.200.0110.00611.85
5.4.190.0110.00711.84
5.4.180.0110.00611.85
5.4.170.0110.00711.85
5.4.160.0110.00611.84
5.4.150.0100.00611.84
5.4.140.0110.00611.89
5.4.130.0100.00711.89
5.4.120.0110.00611.89
5.4.110.0110.00611.89
5.4.100.0110.00611.89
5.4.90.0100.00711.88
5.4.80.0100.00711.89
5.4.70.0100.00611.87
5.4.60.0110.00611.88
5.4.50.0110.00511.88
5.4.40.0110.00611.86
5.4.30.0110.00611.87
5.4.20.0110.00711.87
5.4.10.0110.00611.87
5.4.00.0110.00611.86