3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$b = md5('password'); $c = password_hash("password", PASSWORD_BCRYPT); $la = crypt('password','$2a$07$usesomesillystringforsalt$'); echo md5($c); ?>

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.4.10.0070.08114.79
7.4.00.0030.08714.93
7.3.130.0030.08414.46
7.3.120.0100.07914.54
7.3.110.0100.07714.51
7.3.100.0030.07914.05
7.3.90.0070.08014.80
7.3.80.0070.07214.43
7.3.70.0100.07414.69
7.3.60.0060.07814.29
7.3.50.0070.07814.58
7.3.40.0000.08214.41
7.3.30.0000.08114.76
7.3.20.0070.07516.57
7.3.10.0050.07716.62
7.3.00.0080.07316.49
7.2.260.0130.07614.89
7.2.250.0070.08414.97
7.2.240.0030.07714.92
7.2.230.0070.08014.86
7.2.220.0030.07714.80
7.2.210.0070.07914.67
7.2.200.0130.07014.76
7.2.190.0130.06914.61
7.2.180.0070.07714.93
7.2.170.0070.07314.80
7.2.160.0060.08114.88
7.2.150.0030.07516.76
7.2.140.0030.08016.70
7.2.130.0020.07616.58
7.2.120.0080.07316.46
7.2.110.0070.07517.05
7.2.100.0030.07816.56
7.2.90.0020.08416.76
7.2.80.0010.07916.81
7.2.70.0020.08416.94
7.2.60.0050.07916.75
7.2.50.0070.07516.90
7.2.40.0020.08116.80
7.2.30.0050.07916.69
7.2.20.0070.07816.91
7.2.10.0070.07616.77
7.2.00.0050.07717.72
7.1.330.0070.07515.82
7.1.320.0070.07515.71
7.1.310.0000.08015.68
7.1.300.0070.07815.79
7.1.290.0030.07815.58
7.1.280.0070.07315.69
7.1.270.0070.07915.71
7.1.260.0030.08015.70
7.1.250.0080.07715.62
7.1.240.0000.07915.64
7.1.230.0030.08215.38
7.1.220.0000.08115.66
7.1.210.0070.07215.82
7.1.200.0070.07415.51
7.1.190.0000.08615.80
7.1.180.0070.07015.38
7.1.170.0030.08215.80
7.1.160.0070.07315.71
7.1.150.0070.07215.84
7.1.140.0030.07315.88
7.1.130.0060.07515.72
7.1.120.0060.07415.83
7.1.110.0030.08015.63
7.1.100.0030.07716.63
7.1.90.0070.07515.91
7.1.80.0100.07515.41
7.1.70.0020.07716.18
7.1.60.0100.10517.83
7.1.50.0030.10516.25
7.1.40.0070.07415.76
7.1.30.0070.07515.55
7.1.20.0070.07615.69
7.1.10.0100.07015.83
7.1.00.0000.13319.18
7.0.330.0070.07315.46
7.0.320.0100.06815.26
7.0.310.0030.07815.16
7.0.300.0030.07715.30
7.0.290.0030.08515.26
7.0.280.0030.07915.32
7.0.270.0130.07115.29
7.0.260.0030.07915.29
7.0.250.0030.08015.15
7.0.240.0070.07315.54
7.0.230.0030.08015.25
7.0.220.0070.07515.27
7.0.210.0070.07615.13
7.0.200.0080.07416.08
7.0.190.0070.07615.23
7.0.180.0030.08015.44
7.0.170.0070.07315.54
7.0.160.0030.07715.59
7.0.150.0030.07615.35
7.0.140.0050.12018.62
7.0.130.0000.07715.54
7.0.120.0070.07315.45
7.0.110.0100.07215.26
7.0.100.0060.08115.18
7.0.90.0070.07215.34
7.0.80.0030.08015.32
7.0.70.0000.07915.45
7.0.60.0020.09417.73
7.0.50.0080.10516.58
7.0.40.0120.11816.66
7.0.30.0170.11716.79
7.0.20.0170.11816.68
7.0.10.0170.09316.74
7.0.00.0080.10816.80
5.6.400.0000.07714.41
5.6.390.0030.08214.34
5.6.380.0030.08014.33
5.6.370.0030.07714.51
5.6.360.0030.08513.93
5.6.350.0100.07514.28
5.6.340.0030.07514.14
5.6.330.0000.08514.58
5.6.320.0030.07614.29
5.6.310.0000.08514.54
5.6.300.0100.07114.11
5.6.290.0070.07714.41
5.6.280.0020.12917.67
5.6.270.0070.08314.34
5.6.260.0060.07714.18
5.6.250.0030.08014.37
5.6.240.0000.07914.22
5.6.230.0030.08114.31
5.6.220.0070.07614.34
5.6.210.0020.10917.16
5.6.200.0100.09716.22
5.6.190.0100.09017.25
5.6.180.2020.10017.40
5.6.170.0050.09717.21
5.6.160.0050.12217.34
5.6.150.0100.10816.20
5.6.140.0080.12016.38
5.6.130.0070.09316.25
5.6.120.0080.12417.65
5.6.110.0070.12017.69
5.6.100.0080.12317.50
5.6.90.0050.09017.64
5.6.80.0020.09817.18
5.6.70.1880.09417.23
5.6.60.0030.08014.02
5.6.50.0070.07614.06
5.6.40.0070.07314.08
5.6.30.0100.07014.16
5.6.20.0030.07714.27
5.6.10.0000.07613.91
5.6.00.0030.07914.15
5.5.380.0070.07114.20
5.5.370.0000.08513.75
5.5.360.0070.07314.08
5.5.350.0080.12017.26
5.5.340.0080.12215.99
5.5.330.0050.13117.21
5.5.320.0230.11317.16
5.5.310.0200.10817.20
5.5.300.0030.11715.90
5.5.290.0020.12215.89
5.5.280.0020.09917.28
5.5.270.0030.09517.55
5.5.260.0030.11617.62
5.5.250.0030.13017.24
5.5.240.0170.11717.16
5.5.230.0030.07613.93
5.5.220.0100.07113.83
5.5.210.0030.08314.19
5.5.200.0030.07814.44
5.5.190.0030.07913.95
5.5.180.0030.08214.08
5.5.170.0000.08214.10
5.5.160.0100.07313.79
5.5.150.0030.07713.86
5.5.140.0000.08014.23
5.5.130.0100.06913.92
5.5.120.0030.09114.27
5.5.110.0000.08614.05
5.5.100.0070.07614.29
5.5.90.0100.07213.91
5.5.80.0000.07713.72
5.5.70.0030.07813.98
5.5.60.0000.07614.25
5.5.50.0070.07814.18
5.5.40.0070.07914.21
5.5.30.0070.07014.18
5.5.20.0070.06914.23
5.5.10.0030.07914.22
5.5.00.0070.07314.11
5.4.450.0280.02315.00
5.4.440.0120.03015.05
5.4.430.0280.02215.14
5.4.420.0180.01815.14
5.4.410.0120.03814.84
5.4.400.0130.02314.82
5.4.390.0060.03114.80
5.4.380.0100.03214.58
5.4.370.0160.02214.66
5.4.360.0150.03314.77
5.4.350.0190.02714.78
5.4.340.0120.03314.76
5.4.330.0030.00610.67
5.4.320.0080.02111.65
5.4.310.0050.02011.67
5.4.300.0070.02111.61
5.4.290.0040.02411.57
5.4.280.0090.02211.55
5.4.270.0040.02311.54
5.4.260.0070.02211.46
5.4.250.0060.02211.42
5.4.240.0040.02111.47
5.4.230.0090.02311.45
5.4.220.0020.02211.54
5.4.210.0060.01911.56
5.4.200.0010.02311.56
5.4.190.0050.02311.37
5.4.180.0060.02111.37
5.4.170.0040.02911.52
5.4.160.0090.02111.48
5.4.150.0040.03011.44
5.4.140.0070.02911.26
5.4.130.0070.02711.15
5.4.120.0040.03111.25
5.4.110.0060.02711.31
5.4.100.0050.02711.27
5.4.90.0040.03211.26
5.4.80.0050.03111.32
5.4.70.0030.02611.37
5.4.60.0080.02311.25
5.4.50.0100.02511.39
5.4.40.0120.02611.24
5.4.30.0060.02811.26
5.4.20.0100.02011.37
5.4.10.0070.01811.36
5.4.00.0020.02711.00
5.3.290.0090.02611.55
5.3.280.0050.02511.40
5.3.270.0080.02311.48
5.3.260.0020.02711.52
5.3.250.0040.02011.48
5.3.240.0110.02511.43
5.3.230.0080.03211.44
5.3.220.0060.03111.47
5.3.210.0070.02811.42
5.3.200.0060.02411.39
5.3.190.0100.01911.47
5.3.180.0050.02411.39
5.3.170.0070.02811.49
5.3.160.0080.01911.55
5.3.150.0050.02311.53
5.3.140.0070.02111.50
5.3.130.0040.02511.38
5.3.120.0090.02611.47
5.3.110.0060.02111.49
5.3.100.0050.02311.23
5.3.90.0040.02511.22
5.3.80.0030.02311.13
5.3.70.0040.02211.14
5.3.60.0060.02111.09
5.3.50.0070.02011.11
5.3.40.0080.01911.13
5.3.30.0060.02011.02
5.3.20.0050.02010.91
5.3.10.0070.02010.88
5.3.00.0060.02310.87
5.2.170.0070.0349.15
5.2.160.0060.0299.14
5.2.150.0080.0299.15
5.2.140.0030.0349.14
5.2.130.0050.0319.11
5.2.120.0050.0289.11
5.2.110.0060.0289.11
5.2.100.0100.0249.11
5.2.90.0090.0269.11
5.2.80.0060.0309.10
5.2.70.0060.0309.09
5.2.60.0080.0279.05
5.2.50.0070.0299.02
5.2.40.0050.0299.00
5.2.30.0060.0348.98
5.2.20.0090.0368.96
5.2.10.0060.0388.89
5.2.00.0070.0348.75
5.1.60.0050.0248.03
5.1.50.0020.0298.03
5.1.40.0040.0258.02
5.1.30.0050.0268.36
5.1.20.0060.0258.39
5.1.10.0050.0268.11
5.1.00.0050.0268.11
5.0.50.0050.0206.59
5.0.40.0050.0196.44
5.0.30.0010.0356.27
5.0.20.0020.0226.23
5.0.10.0050.0206.21
5.0.00.0030.0326.20
4.4.90.0030.0164.78
4.4.80.0030.0164.76
4.4.70.0040.0154.75
4.4.60.0050.0144.76
4.4.50.0050.0154.77
4.4.40.0020.0274.71
4.4.30.0030.0164.76
4.4.20.0020.0174.84
4.4.10.0020.0174.85
4.4.00.0020.0314.76
4.3.110.0040.0144.67
4.3.100.0030.0154.67
4.3.90.0060.0124.64
4.3.80.0040.0244.59
4.3.70.0020.0154.63
4.3.60.0030.0154.63
4.3.50.0020.0174.63
4.3.40.0010.0274.53
4.3.30.0020.0163.27
4.3.20.0020.0173.25
4.3.10.0030.0153.21
4.3.00.0000.01715.06

preferences:
35.3 ms | 401 KiB | 5 Q