3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); $hashedPassword = password_hash('', PASSWORD_BCRYPT); $hashedPassword = password_hash($_POST['psasword'], PASSWORD_BCRYPT); echo $hashedPassword;

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.60.0100.06516.75
7.2.00.0070.07219.32
7.1.200.0030.07415.64
7.1.100.0000.07718.32
7.1.70.0000.09517.26
7.1.60.0100.12319.14
7.1.50.0100.09916.94
7.1.00.0070.16322.33
7.0.200.0030.06616.64
7.0.60.0100.12319.92
7.0.50.0130.14717.86
7.0.40.0070.11320.04
7.0.30.0200.11720.06
7.0.20.0300.10020.09
7.0.10.0270.09320.09
7.0.00.0100.14720.06
5.6.210.0030.16320.69
5.6.200.0070.21018.22
5.6.190.0100.16020.39
5.6.180.0370.16020.46
5.6.170.0300.21720.45
5.6.160.0070.15720.50
5.6.150.0070.16718.18
5.6.140.0030.16318.28
5.6.130.0100.23718.22
5.6.120.0100.17021.14
5.6.110.0100.16321.09
5.6.100.0030.18720.97
5.6.90.0070.22321.02
5.6.80.0070.16020.53
5.5.350.0230.12720.41
5.5.340.0030.17018.07
5.5.330.0030.23320.26
5.5.320.0070.20720.57
5.5.310.0370.20720.29
5.5.300.0070.20717.95
5.5.290.0070.18018.08
5.5.280.0070.22020.74
5.5.270.0230.20720.72
5.5.260.0130.18020.96
5.5.250.0070.21320.57
5.5.240.0130.22320.26
5.4.450.0900.05719.61
5.4.440.0930.05719.40
5.4.430.1000.05019.47
5.4.420.0930.04719.58
5.4.410.0870.05019.48
5.4.400.0800.06019.22
5.4.390.0830.07018.78
5.4.380.0630.05718.80
5.4.370.0830.04719.13
5.4.360.0330.04719.28
5.4.350.0070.05318.80
5.4.340.0500.05719.32
5.4.320.0870.04718.95
5.4.310.1000.04319.29
5.4.300.0300.05019.29
5.4.290.0200.04719.07
5.4.280.0730.05019.22
5.4.270.0730.05318.99
5.4.260.0800.05319.12
5.4.250.0600.06719.28
5.4.240.0430.04719.14
5.4.230.0170.04319.11
5.4.220.0100.05319.21
5.4.210.0870.05319.14
5.4.200.0670.05319.30
5.4.190.0700.05319.25
5.4.180.0570.06019.21
5.4.170.0870.05319.18
5.4.160.0900.04719.14
5.4.150.0730.05718.98
5.4.140.0970.04016.38
5.4.130.0930.04716.28
5.4.120.0900.04716.59
5.4.110.1000.06716.56
5.4.100.1000.05316.45
5.4.90.0970.04716.18
5.4.80.0770.04716.45
5.4.70.0070.07016.45
5.4.60.0070.06716.37
5.4.50.0070.07016.36
5.4.40.0070.04016.17
5.4.30.0230.07716.38
5.4.20.0170.03716.36
5.4.10.0200.04716.35

preferences:
35.81 ms | 401 KiB | 5 Q