3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = password_hash('foobar', PASSWORD_BCRYPT); echo $foo;

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.0070.07614.99
7.3.120.0100.07315.01
7.3.110.0070.07414.62
7.3.100.0070.07014.91
7.3.90.0030.07714.73
7.3.80.0030.07314.66
7.3.70.0000.07014.74
7.3.60.0030.07414.61
7.3.50.0030.07014.71
7.3.40.0030.07214.48
7.3.30.0030.06614.85
7.3.20.0030.07116.53
7.3.10.0050.07016.67
7.3.00.0080.06916.61
7.2.250.0030.07615.16
7.2.240.0030.08115.04
7.2.230.0000.08114.89
7.2.220.0030.06914.89
7.2.210.0130.06215.09
7.2.200.0030.06914.80
7.2.190.0070.06614.82
7.2.180.0030.07014.63
7.2.170.0100.06814.78
7.2.130.0000.07317.05
7.2.120.0100.06416.71
7.2.110.0070.06916.84
7.2.100.0070.07016.82
7.2.90.0130.06616.86
7.2.80.0100.07217.02
7.2.70.0030.07016.78
7.2.60.0030.07316.83
7.2.50.0100.06516.55
7.2.40.0130.06216.80
7.2.30.0100.06616.55
7.2.20.0000.07416.84
7.2.10.0070.06616.81
7.2.00.0030.07018.03
7.1.330.0070.06815.65
7.1.320.0000.06815.73
7.1.310.0100.06715.59
7.1.300.0060.06415.73
7.1.290.0000.07715.67
7.1.280.0060.06815.84
7.1.270.0030.07115.43
7.1.260.0070.07015.68
7.1.250.0100.06615.71
7.1.200.0030.07115.42
7.1.100.0030.07018.08
7.1.70.0030.07816.94
7.1.60.0060.07119.40
7.1.50.0130.10116.91
7.1.00.0000.16022.31
7.0.200.0300.06714.78
7.0.60.0170.14021.81
7.0.50.0130.11317.85
7.0.40.0000.10720.26
7.0.30.0230.11320.11
7.0.20.0230.11320.09
7.0.10.0000.10720.33
7.0.00.0030.17320.16
5.6.280.0000.16720.92
5.6.210.0030.14020.48
5.6.200.0070.10018.22
5.6.190.0100.14720.45
5.6.180.0230.09720.46
5.6.170.0230.09720.44
5.6.160.0100.15020.36
5.6.150.0030.17018.19
5.6.140.0230.13718.11
5.6.130.0070.16318.21
5.6.120.0030.10321.09
5.6.110.0070.11321.02
5.6.100.0070.14321.13
5.6.90.0030.10321.02
5.6.80.0130.11720.35
5.5.350.0170.15320.49
5.5.340.0170.15018.14
5.5.330.0100.10020.29
5.5.320.0600.13320.35
5.5.310.0200.12020.30
5.5.300.0130.14317.95
5.5.290.0200.15017.95
5.5.280.0070.15020.76
5.5.270.0070.16320.96
5.5.260.0100.16020.84
5.5.250.0130.09320.68
5.5.240.0230.15320.17

preferences:
37.35 ms | 400 KiB | 5 Q