3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass = 'joker'; echo md5($pass)."\n"; echo sha1($pass)."\n"; echo password_hash($pass, PASSWORD_BCRYPT)."\n";

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)
7.3.00.0100.06716.39
7.2.130.0130.06516.81
7.2.120.0130.06516.88
7.2.110.0030.07016.85
7.2.100.0030.07016.98
7.2.90.0030.06916.67
7.2.80.0060.06916.97
7.2.70.0070.07016.84
7.2.60.0050.06816.75
7.2.50.0070.06716.71
7.2.40.0070.06716.51
7.2.30.0070.06816.92
7.2.20.0070.06916.70
7.2.10.0100.06616.47
7.2.00.0100.06616.88
7.1.250.0060.06515.65
7.1.240.0100.06815.69
7.1.230.0030.06915.46
7.1.220.0000.06715.75
7.1.210.0100.06915.69
7.1.200.0030.07415.59
7.1.190.0030.07015.62
7.1.180.0000.07515.62
7.1.170.0070.06515.67
7.1.160.0070.06415.78
7.1.150.0030.06815.84
7.1.140.0100.06415.70
7.1.130.0030.06715.52
7.1.120.0100.06915.75
7.1.110.0030.06815.81
7.1.100.0070.06715.78
7.1.90.0030.07015.70
7.1.80.0070.06915.74
7.1.70.0000.07316.41
7.1.60.0080.09317.33
7.1.50.0080.09916.18
7.1.40.0070.07015.87
7.1.30.0100.06515.52
7.1.20.0070.06615.64
7.1.10.0030.07015.47
7.1.00.0050.10419.03
7.0.330.0100.07115.33
7.0.320.0030.06515.04
7.0.310.0030.07315.29
7.0.300.0100.06514.96
7.0.290.0030.06415.29
7.0.280.0070.06815.43
7.0.270.0100.06515.34
7.0.260.0060.06414.98
7.0.250.0130.06415.27
7.0.240.0030.06415.43
7.0.230.0100.06515.24
7.0.220.0130.06915.34
7.0.210.0070.06415.47
7.0.200.0070.07015.13
7.0.190.0130.06415.05
7.0.180.0070.06615.48
7.0.170.0130.06615.33
7.0.160.0070.06915.54
7.0.150.0100.06715.29
7.0.140.0020.11718.71
7.0.130.0130.06115.31
7.0.120.0070.06915.28
7.0.110.0030.07215.44
7.0.100.0100.11017.71
7.0.90.0150.11517.59
7.0.80.0150.08917.71
7.0.70.0130.10517.62
7.0.60.0120.10117.55
7.0.50.0250.11417.88
7.0.40.0020.12116.65
7.0.30.0080.10616.80
7.0.20.0070.10216.74
7.0.10.0120.10816.76
7.0.00.0080.08916.72
5.6.380.0030.07814.18
5.6.370.0030.07014.39
5.6.360.0000.07114.09
5.6.350.0030.06514.50
5.6.340.0130.06114.20
5.6.330.0000.07014.30
5.6.320.0030.07114.29
5.6.310.0070.06914.38
5.6.300.0100.06614.46
5.6.290.0000.07314.08
5.6.280.0030.11717.66
5.6.270.0070.06614.16
5.6.260.0000.07414.04
5.6.250.0050.10717.47
5.6.240.0070.10717.49
5.6.230.0080.11517.39
5.6.220.0030.08317.37
5.6.210.0070.12017.35
5.6.200.0080.11317.64
5.6.190.0080.11417.85
5.6.180.0100.11017.55
5.6.170.0100.09417.65
5.6.160.0210.08717.48
5.6.150.0100.11717.55
5.6.140.0050.09217.50
5.6.130.0070.11717.76
5.6.120.0070.13117.66
5.6.110.0100.11217.61
5.6.100.0070.09217.63
5.6.90.0050.08917.66
5.6.80.0080.11117.26
5.6.70.0120.09317.25
5.6.60.0070.10717.18
5.6.50.0050.10717.24
5.6.40.0070.09517.42
5.6.30.0100.11817.32
5.6.20.0080.11817.36
5.6.10.0080.10417.37
5.6.00.0070.11117.27
5.5.380.0080.09615.79
5.5.370.0080.08115.72
5.5.360.0070.11215.72
5.5.350.0050.11215.71
5.5.340.0100.08515.90
5.5.330.0050.11616.08
5.5.320.0070.11115.88
5.5.310.0070.09215.98
5.5.300.0030.09315.97
5.5.290.0120.12315.82
5.5.280.0080.11315.98
5.5.270.0050.09215.80
5.5.260.0080.10315.79
5.5.250.0050.09315.86
5.5.240.0070.11715.59
5.5.230.0070.12615.38
5.5.220.0100.10815.65
5.5.210.0080.11315.55
5.5.200.0050.10415.66
5.5.190.0030.13015.64
5.5.180.0080.10315.55
5.5.170.0070.06510.87
5.5.160.0120.10615.52
5.5.150.0100.11215.54
5.5.140.0120.10515.58
5.5.130.0050.08515.46
5.5.120.0100.11315.54
5.5.110.0080.10815.67
5.5.100.0030.12315.53
5.5.90.0080.12115.45
5.5.80.0050.11015.63
5.5.70.0080.12115.55
5.5.60.0100.12115.60
5.5.50.0100.10615.55
5.5.40.0070.08815.57
5.5.30.0070.11215.64
5.5.20.0050.11115.48
5.5.10.0030.10715.53
5.5.00.0030.10615.41
5.4.450.0000.04115.27
5.4.440.0030.02915.23
5.4.430.0030.04215.26
5.4.420.0040.02715.26
5.4.410.0060.03515.28
5.4.400.0030.02614.91
5.4.390.0070.02114.96
5.4.380.0040.03014.96
5.4.370.0070.03314.89
5.4.360.0080.03814.86
5.4.350.0100.03014.96
5.4.340.0030.04514.97
5.4.330.0070.00310.94
5.4.320.0130.03314.83
5.4.310.0080.03515.10
5.4.300.0050.04214.92
5.4.290.0020.04415.02
5.4.280.0080.03514.79
5.4.270.0110.03514.90
5.4.260.0070.03814.80
5.4.250.0050.02914.79
5.4.240.0030.03115.10
5.4.230.0050.04214.98
5.4.220.0070.03514.91
5.4.210.0030.04214.82
5.4.200.0100.03714.91
5.4.190.0070.04015.03
5.4.180.0080.04014.97
5.4.170.0100.03314.88
5.4.160.0070.03514.97
5.4.150.0050.03714.90
5.4.140.0070.03513.79
5.4.130.0090.01713.48
5.4.120.0080.03713.54
5.4.110.0030.02513.61
5.4.100.0060.03813.66
5.4.90.0130.03713.73
5.4.80.0070.03613.54
5.4.70.0050.02313.65
5.4.60.0030.02013.55
5.4.50.0070.02013.59
5.4.40.0060.02313.47
5.4.30.0070.02013.59
5.4.20.0060.02113.69
5.4.10.0040.02013.63
5.4.00.0030.02113.24
5.3.290.0080.03612.45
5.3.280.0070.02212.38
5.3.270.0070.03812.41
5.3.260.0080.03212.47
5.3.250.0050.02812.50
5.3.240.0030.03812.38
5.3.230.0070.03612.38
5.3.220.0070.03812.46
5.3.210.0090.02812.46
5.3.200.0050.03112.46
5.3.190.0030.04312.53
5.3.180.0020.04112.49
5.3.170.0010.04112.48
5.3.160.0090.01712.51
5.3.150.0070.02012.49
5.3.140.0020.03212.49
5.3.130.0050.02512.43
5.3.120.0010.02112.42
5.3.110.0100.02312.53
5.3.100.0070.02012.15
5.3.90.0020.02112.23
5.3.80.0050.01812.10
5.3.70.0070.02012.21
5.3.60.0030.01912.13
5.3.50.0030.02112.10
5.3.40.0000.02612.06
5.3.30.0070.01912.07
5.3.20.0020.02212.09
5.3.10.0030.02711.88
5.3.00.0050.01811.79
5.2.170.0020.01711.03
5.2.160.0020.01711.03
5.2.150.0050.01511.03
5.2.140.0050.01411.03
5.2.130.0030.01611.03
5.2.120.0030.01811.03
5.2.110.0000.02711.03
5.2.100.0030.01511.03
5.2.90.0000.01911.03
5.2.80.0010.01811.03
5.2.70.0030.03011.03
5.2.60.0030.02211.03
5.2.50.0020.01911.03
5.2.40.0050.01411.03
5.2.30.0020.01811.03
5.2.20.0020.01611.03
5.2.10.0010.01811.03
5.2.00.0030.01911.03
5.1.60.0030.01211.03
5.1.50.0020.01511.03
5.1.40.0020.01611.03
5.1.30.0060.01011.03
5.1.20.0040.01811.03
5.1.10.0020.01511.03
5.1.00.0000.01811.03
5.0.50.0030.01111.03
5.0.40.0020.01411.03
5.0.30.0020.01511.03
5.0.20.0050.00811.03
5.0.10.0050.01011.03
5.0.00.0030.01811.03
4.4.90.0010.00911.03
4.4.80.0020.00911.03
4.4.70.0000.01111.03
4.4.60.0000.01211.03
4.4.50.0000.01211.03
4.4.40.0000.01411.03
4.4.30.0000.00911.03
4.4.20.0040.00811.03
4.4.10.0040.00811.03
4.4.00.0000.01411.03
4.3.110.0020.01011.03
4.3.100.0020.00811.03
4.3.90.0020.01011.03
4.3.80.0020.01311.03
4.3.70.0020.01011.03
4.3.60.0010.01011.03
4.3.50.0020.00711.03
4.3.40.0030.01111.03
4.3.30.0000.01011.03
4.3.20.0000.01011.03
4.3.10.0000.00811.03
4.3.00.0030.00711.03

preferences:
36.85 ms | 401 KiB | 5 Q