3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("BLOWFISH_PRE", "$2y$05$"); define("BLOWFISH_SUF", "$"); function pwhash($password) { $salt = str_repeat('A', 21); return crypt($password, BLOWFISH_PRE . $salt . BLOWFISH_SUF); } var_dump(pwhash('test'));

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)
8.4.130.0110.00918.53
8.4.120.0120.00724.12
8.4.110.0100.01020.51
8.4.100.0140.00618.85
8.4.90.0030.00520.60
8.4.80.0130.00518.37
8.4.70.0090.00919.06
8.4.60.0100.01118.98
8.4.50.0320.00817.71
8.4.40.0270.01017.38
8.4.30.0270.01017.75
8.4.20.0280.01017.65
8.4.10.0330.00518.05
8.3.260.0090.01116.84
8.3.250.0080.01118.94
8.3.240.0110.00516.77
8.3.230.0130.00716.73
8.3.220.0090.00719.12
8.3.210.0120.00718.25
8.3.200.0040.00716.73
8.3.190.0170.00717.38
8.3.180.0180.00417.22
8.3.170.0230.00917.10
8.3.160.0180.00516.82
8.3.150.0180.00716.53
8.3.140.0160.00616.75
8.3.130.0190.00516.59
8.3.120.0160.01017.34
8.3.110.0170.00618.01
8.3.100.0190.00717.11
8.3.90.0190.00616.71
8.3.80.0190.00416.93
8.3.70.0190.00816.89
8.3.60.0250.00617.07
8.3.50.0200.00616.45
8.3.40.0240.00818.28
8.3.30.0230.00718.30
8.3.20.0210.00719.54
8.3.10.0220.00719.81
8.3.00.0210.00723.77
8.2.290.0060.00520.45
8.2.280.0250.00917.08
8.2.270.0270.01016.29
8.2.260.0270.00516.44
8.2.250.0200.00817.01
8.2.240.0160.00616.49
8.2.230.0200.00818.42
8.2.220.0240.00618.85
8.2.210.0200.00619.89
8.2.200.0220.00317.03
8.2.190.0220.00716.33
8.2.180.0200.00716.50
8.2.170.0160.00718.04
8.2.160.0290.00319.30
8.2.150.0210.00620.29
8.2.140.0180.00619.88
8.2.130.0180.00723.82
8.2.120.0190.00723.77
8.2.110.0170.00823.80
8.2.100.0150.00923.82
8.2.90.0160.00823.88
8.2.80.0150.00823.90
8.2.70.0180.00423.86
8.2.60.0150.00823.84
8.2.50.0140.00823.79
8.2.40.0120.00723.81
8.2.30.0170.00823.77
8.2.20.0140.00923.83
8.2.10.0160.00723.82
8.2.00.0130.00623.79
8.1.330.0090.00921.67
8.1.320.0180.00715.97
8.1.310.0200.00516.52
8.1.300.0190.00815.94
8.1.290.0170.00716.95
8.1.280.0190.00619.27
8.1.270.0200.00619.55
8.1.260.0170.00523.70
8.1.250.0120.00523.73
8.1.240.0100.00623.73
8.1.230.0150.00323.74
8.1.220.0140.00623.56
8.1.210.0160.00523.73
8.1.200.0150.00723.75
8.1.190.0130.00923.73
8.1.180.0190.00723.61
8.1.170.0160.00623.72
8.1.160.0160.00723.73
8.1.150.0140.00823.75
8.1.140.0120.00823.67
8.1.130.0120.00923.69
8.1.120.0120.01023.70
8.1.110.0150.00823.76
8.1.100.0180.00923.71
8.1.90.0160.00723.77
8.1.80.0160.01023.74
8.1.70.0180.01023.74
8.1.60.0180.00523.81
8.1.50.0160.00723.76
8.1.40.0130.01023.78
8.1.30.0120.01023.86
8.1.20.0160.00823.77
8.1.10.0100.01223.74
8.1.00.0130.00723.67

preferences:
44.69 ms | 403 KiB | 5 Q