3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hashed =password_hash('mypass', PASSWORD_BCRYPT); echo $hashed ; $hash575 = "$2y$10$z6KypvZOpkWeGx3s1NUJtOUvlByNgwGUpUXbV06kwcI7cuG70JmKK"; $verified575 = password_verify('mypass', $hash575); var_dump($verified575);

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.00.0030.08014.79
7.3.120.0100.07314.54
7.3.110.0070.07514.96
7.3.100.0100.07314.84
7.3.90.0030.07914.43
7.3.80.0130.06914.75
7.3.70.0030.07014.86
7.3.60.0030.07314.77
7.3.50.0000.07814.88
7.3.40.0030.07414.72
7.3.30.0030.07414.57
7.3.20.0100.06416.55
7.3.10.0130.06116.48
7.3.00.0030.07016.23
7.2.250.0030.07915.02
7.2.240.0030.08215.20
7.2.230.0070.07115.06
7.2.220.0130.06215.14
7.2.210.0030.07515.09
7.2.200.0070.07014.85
7.2.190.0100.06314.70
7.2.180.0100.06514.82
7.2.170.0000.07314.98
7.2.110.0100.06516.39
7.2.60.0100.06416.79
7.2.00.0030.07519.21
7.1.330.0000.07315.77
7.1.320.0030.07015.72
7.1.310.0030.07915.95
7.1.300.0100.06715.93
7.1.290.0100.06415.72
7.1.280.0000.07615.38
7.1.270.0070.06715.73
7.1.260.0030.06515.70
7.1.200.0070.07015.71
7.1.100.0070.07617.91
7.1.70.0030.06517.11
7.1.60.0100.12419.43
7.1.50.0130.08016.94
7.1.00.0030.16322.43
7.0.200.0070.06316.79
7.0.60.0100.13319.89
7.0.50.0000.12017.79
7.0.40.0100.13720.09
7.0.30.0370.15020.30
7.0.20.0300.13320.13
7.0.10.0400.15720.04
7.0.00.0030.14320.15
5.6.280.0070.08320.80
5.6.210.0200.10320.77
5.6.200.0130.13318.34
5.6.190.0100.14720.47
5.6.180.0000.15020.63
5.6.170.0330.15020.56
5.6.160.0000.10720.53
5.6.150.0170.14718.17
5.6.140.0030.10018.24
5.6.130.0000.10718.24
5.6.120.0100.09321.04
5.6.110.0030.10021.14
5.6.100.0070.16721.15
5.6.90.0070.16321.13
5.6.80.0070.15320.46
5.6.70.3230.08720.41
5.5.350.0030.18020.46
5.5.340.0030.10018.14
5.5.330.0070.10320.32
5.5.320.0070.10020.39
5.5.310.0300.13020.26
5.5.300.0030.11317.98
5.5.290.0070.11018.07
5.5.280.0030.10720.76
5.5.270.0000.11020.70
5.5.260.0070.16320.69
5.5.250.0000.14020.64
5.5.240.0000.11020.26
5.4.450.0100.06719.53
5.4.440.0170.05719.58
5.4.430.0200.05319.53
5.4.420.0270.04719.18
5.4.410.0200.05019.19
5.4.400.0170.05319.22
5.4.390.0130.06019.23
5.4.380.0070.06319.24
5.4.370.0200.05019.08
5.4.360.0200.05019.09
5.4.350.0130.05719.16
5.4.340.0170.05319.19
5.4.320.0300.04019.16
5.4.310.0130.05718.91
5.4.300.0200.04719.19
5.4.290.0230.06319.05
5.4.280.0070.06319.23
5.4.270.0130.05319.26
5.4.260.0130.05319.19
5.4.250.0170.05319.16
5.4.240.0070.06318.94
5.4.230.0100.05719.05
5.4.220.0170.05019.21
5.4.210.0170.05019.09
5.4.200.0130.05319.16
5.4.190.0270.05719.06
5.4.180.0270.04318.94
5.4.170.0200.04718.75
5.4.160.0130.05318.80
5.4.150.0100.06019.25
5.4.140.0130.05716.48
5.4.130.0170.05016.28
5.4.120.0230.04316.45
5.4.110.0200.04716.47
5.4.100.0230.04016.27
5.4.90.0100.05016.21
5.4.80.0170.04716.43
5.4.70.0170.04716.28
5.4.60.0170.04716.45
5.4.50.0170.04716.04
5.4.40.0200.05316.38
5.4.30.0170.05316.40
5.4.20.0170.05016.41
5.4.10.0300.04016.35
5.4.00.0100.05316.00

preferences:
35.45 ms | 400 KiB | 5 Q