3v4l.org

run code in 300+ PHP versions simultaneously
<?php function chrono() { $temps = explode(' ', microtime()); return $temps[0]+$temps[1]; } $debut = chrono(); $options['cost'] = 13; for($i=0;$i<1;$i++) { $p = password_hash('tototititata', PASSWORD_BCRYPT, $options); } echo'<hr>'; echo round(chrono()-$debut,10);

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.2.00.0000.50419.27
7.1.70.0470.48417.24
7.1.60.0170.56119.32
7.1.50.0100.56517.01
7.1.00.0000.57022.31
7.0.200.0070.48916.78
7.0.140.0000.54021.96
7.0.100.0130.56319.98
7.0.90.0030.57319.93
7.0.80.0200.59319.84
7.0.70.0230.56019.86
7.0.60.0130.59019.89
7.0.50.0100.57320.11
7.0.40.0070.58020.09
7.0.30.0130.58320.09
7.0.20.0100.57719.99
7.0.10.0030.60720.05
7.0.00.0070.55320.13
5.6.280.0030.56721.15
5.6.250.0100.58320.71
5.6.240.0030.56720.55
5.6.230.0070.57720.52
5.6.220.0070.57020.45
5.6.210.0170.59320.61
5.6.200.0070.60021.00
5.6.190.0170.58720.99
5.6.180.0100.57021.04
5.6.170.0100.57320.90
5.6.160.0100.60321.07
5.6.150.0070.56321.10
5.6.140.0100.54720.89
5.6.130.0030.55721.00
5.6.120.0000.53321.13
5.6.110.0130.44720.89
5.6.100.0030.45321.08
5.6.90.0030.53320.96
5.6.80.0370.44020.27
5.6.70.0100.58020.39
5.6.60.0170.59320.29
5.6.50.0200.55020.43
5.6.40.0170.55020.40
5.6.30.0070.60020.43
5.6.20.0170.57720.32
5.6.10.0000.59020.34
5.6.00.0130.59720.38
5.5.380.0070.57020.36
5.5.370.0000.57320.53
5.5.360.0200.54320.40
5.5.350.0000.60720.38
5.5.340.0070.59720.85
5.5.330.0000.59320.80
5.5.320.0100.57320.72
5.5.310.0100.58320.76
5.5.300.0030.56720.89
5.5.290.0070.59020.87
5.5.280.0030.45020.79
5.5.270.0030.46020.82
5.5.260.0130.59320.83
5.5.250.0000.56720.58
5.5.240.0030.43320.18
5.5.230.0070.60020.24
5.5.220.0100.57720.16
5.5.210.0100.57320.14
5.5.200.0070.57720.15
5.5.190.0100.57720.05
5.5.180.0070.59720.23
5.5.160.0170.59020.05
5.5.150.0070.58720.17
5.5.140.0200.55320.19
5.5.130.0070.57019.95
5.5.120.0130.57720.18
5.5.110.0000.55720.22
5.5.100.0070.55020.13
5.5.90.0100.59020.13
5.5.80.0130.58720.03
5.5.70.0100.61020.05
5.5.60.0070.57020.07
5.5.50.0100.58320.02
5.5.40.0130.59720.10
5.5.30.0070.60320.02
5.5.20.0230.59020.09
5.5.10.0130.58319.92
5.5.00.0100.56320.09
5.4.450.0070.03719.38
5.4.440.0070.04319.20
5.4.430.0100.05319.41
5.4.420.0070.04019.55
5.4.410.0000.03719.43
5.4.400.0100.07319.05
5.4.390.0030.06718.95
5.4.380.0170.06319.14
5.4.370.0130.07319.04
5.4.360.0170.07318.90
5.4.350.0070.08019.13
5.4.340.0000.08019.04
5.4.320.0100.07319.18
5.4.310.0130.06318.88
5.4.300.0200.06719.09
5.4.290.0100.07019.21
5.4.280.0100.07319.16
5.4.270.0070.05019.03
5.4.260.0030.07019.16
5.4.250.0100.07019.17
5.4.240.0070.07019.13
5.4.230.0070.08019.22
5.4.220.0070.07019.04
5.4.210.0070.08018.95
5.4.200.0000.08319.18
5.4.190.0130.06719.17
5.4.180.0100.07719.13
5.4.170.0030.08319.02
5.4.160.0030.07319.03
5.4.150.0100.06019.13
5.4.140.0170.06016.20
5.4.130.0200.05716.40
5.4.120.0130.06716.14
5.4.110.0100.07316.34
5.4.100.0070.05016.48
5.4.90.0130.06716.29
5.4.80.0030.05316.35
5.4.70.0130.06016.31
5.4.60.0100.07016.32
5.4.50.0170.06716.45
5.4.40.0100.07016.45
5.4.30.0130.06716.25
5.4.20.0070.06316.44
5.4.10.0030.07316.40
5.4.00.0100.06715.83
5.3.290.0130.06314.64
5.3.280.0100.07014.66
5.3.270.0100.07014.59
5.3.260.0070.06714.56
5.3.250.0100.07314.59
5.3.240.0070.07014.62
5.3.230.0130.07014.66
5.3.220.0100.06714.60
5.3.210.0100.04014.55
5.3.200.0070.04714.52
5.3.190.0070.07714.50
5.3.180.0070.08314.63
5.3.170.0070.08014.50
5.3.160.0030.07714.55
5.3.150.0100.07314.62
5.3.140.0070.08314.53
5.3.130.0030.07014.57
5.3.120.0130.07014.68
5.3.110.0070.06714.64
5.3.100.0100.07014.15
5.3.90.0100.06714.12
5.3.80.0100.07014.05
5.3.70.0100.06313.94
5.3.60.0130.07014.07
5.3.50.0030.06314.01
5.3.40.0030.07714.07
5.3.30.0130.07013.84
5.3.20.0070.07713.71
5.3.10.0070.07313.66
5.3.00.0070.07013.75
5.2.170.0100.03711.25
5.2.160.0070.06011.16
5.2.150.0130.05011.13
5.2.140.0070.06711.25
5.2.130.0030.06311.24
5.2.120.0130.05311.16
5.2.110.0100.05711.10
5.2.100.0000.06711.13
5.2.90.0100.04711.19
5.2.80.0070.06011.08
5.2.70.0070.06011.01
5.2.60.0070.07011.17
5.2.50.0100.05711.08
5.2.40.0030.05711.02
5.2.30.0100.05710.99
5.2.20.0170.04711.10
5.2.10.0070.05710.78
5.2.00.0100.03310.74
5.1.60.0100.04310.11
5.1.50.0100.04710.09
5.1.40.0100.0479.96
5.1.30.0100.05010.35
5.1.20.0000.07310.48
5.1.10.0030.05710.19
5.1.00.0000.0579.97
5.0.50.0100.0438.60
5.0.40.0100.0308.46
5.0.30.0070.0538.37
5.0.20.0000.0438.27
5.0.10.0000.0478.24
5.0.00.0070.0608.24
4.4.90.0030.0338.09
4.4.80.0030.0378.09
4.4.70.0030.0308.09
4.4.60.0000.0378.09
4.4.50.0030.0338.09
4.4.40.0030.0578.09
4.4.30.0030.0378.09
4.4.20.0000.0408.09
4.4.10.0100.0278.09
4.4.00.0000.0538.09
4.3.110.0030.0378.09
4.3.100.0100.0408.09
4.3.90.0070.0308.09
4.3.80.0000.0438.09
4.3.70.0130.0238.09
4.3.60.0000.0378.09
4.3.50.0000.0378.09
4.3.40.0000.0538.09
4.3.30.0000.0378.09
4.3.20.0030.0438.09
4.3.10.0030.0338.09
4.3.00.0000.0338.09

preferences:
41.72 ms | 401 KiB | 5 Q