3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo password_hash('random password', PASSWORD_BCRYPT);

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.10.0000.08215.04
7.4.00.0100.07014.76
7.3.130.0130.07014.60
7.3.120.0070.07214.83
7.3.110.0060.07414.60
7.3.100.0070.06814.74
7.3.90.0000.07314.67
7.3.80.0050.06914.73
7.3.70.0060.06914.69
7.3.60.0040.07114.64
7.3.50.0060.06914.69
7.3.40.0040.06914.54
7.3.30.0060.07014.58
7.3.20.0080.06716.42
7.3.10.0030.07116.56
7.3.00.0030.07116.59
7.2.260.0030.07714.69
7.2.250.0100.07114.67
7.2.240.0040.07614.86
7.2.230.0060.07014.79
7.2.220.0040.07114.87
7.2.210.0000.07414.81
7.2.200.0020.07414.89
7.2.190.0080.06914.77
7.2.180.0080.06714.99
7.2.170.0040.06814.91
7.2.160.0000.07514.85
7.2.150.0050.07016.79
7.2.140.0020.06816.78
7.2.130.0100.06716.73
7.2.120.0030.07116.66
7.2.110.0050.06816.68
7.2.100.0050.06916.71
7.2.90.0030.07416.69
7.2.80.0050.06816.81
7.2.70.0050.07016.79
7.2.60.0750.07616.15
7.2.50.0800.07815.98
7.2.40.0790.08316.19
7.2.30.1030.08116.28
7.2.20.0620.08016.43
7.2.10.0960.07816.25
7.2.00.0990.07716.42
7.1.330.0020.07215.70
7.1.320.0030.07015.62
7.1.310.0030.07215.58
7.1.300.0060.06915.70
7.1.290.0040.07015.64
7.1.280.0060.06715.74
7.1.270.0060.07215.56
7.1.260.0040.06815.69
7.1.250.0030.07115.58
7.1.240.0030.07415.44
7.1.230.0030.07215.51
7.1.220.0030.07115.42
7.1.210.0060.06815.39
7.1.200.0090.06615.46
7.1.190.0000.06915.35
7.1.180.0030.07315.70
7.1.170.1320.08014.58
7.1.160.1570.08716.33
7.1.150.1200.08216.09
7.1.140.1280.08616.35
7.1.130.1440.08316.04
7.1.120.1720.08616.16
7.1.110.0690.08115.87
7.1.100.0680.08515.90
7.1.90.1080.08515.89
7.1.80.1600.08615.68
7.1.70.1000.07715.37
7.1.60.1800.08624.34
7.1.50.2570.08124.25
7.1.40.2840.08224.00
7.1.30.2850.08423.91
7.1.20.2110.08624.03
7.1.10.1890.08115.16
7.1.00.1370.08315.14
7.0.330.0000.08115.28
7.0.320.0070.06915.14
7.0.310.0000.07515.11
7.0.300.0030.07215.47
7.0.290.0030.07115.36
7.0.280.0130.06415.35
7.0.270.0030.06614.99
7.0.260.0030.06915.25
7.0.250.0100.06715.14
7.0.240.0000.07015.46
7.0.230.0030.07115.43
7.0.220.0070.06615.19
7.0.210.0070.06615.43
7.0.200.0070.06615.13
7.0.190.0070.06815.54
7.0.180.0000.07415.24
7.0.170.0000.07215.42
7.0.160.0070.07015.19
7.0.150.0030.07215.36
7.0.140.0030.06615.07
7.0.130.0000.07115.27
7.0.120.0030.07015.22
7.0.110.0000.07415.16
7.0.100.0030.07015.23
7.0.90.0070.06815.20
7.0.80.0100.06515.11
7.0.70.0030.07215.26
7.0.60.0030.07015.05
7.0.50.0030.06915.44
7.0.40.0030.07313.15
7.0.30.0070.06713.46
7.0.20.0100.06513.33
7.0.10.0070.07013.40
7.0.00.0070.06513.23
5.6.400.0130.06414.35
5.6.390.0130.06714.28
5.6.380.0100.06814.12
5.6.370.0070.06813.96
5.6.360.0030.07014.13
5.6.350.0030.06714.27
5.6.340.0130.06314.34
5.6.330.0030.07314.29
5.6.320.0000.07714.41
5.6.310.0000.07213.93
5.6.300.0060.06714.46
5.6.290.0070.06414.32
5.6.280.0030.06914.54
5.6.270.0100.06514.13
5.6.260.0070.06914.28
5.6.250.0000.07214.27
5.6.240.0070.06914.37
5.6.230.0060.06513.98
5.6.220.0000.07014.02
5.6.210.0000.07514.33
5.6.200.0100.06914.20
5.6.190.0030.06914.43
5.6.180.0060.06414.20
5.6.170.0100.06313.91
5.6.160.0030.07214.33
5.6.150.0070.06214.35
5.6.140.0070.06814.32
5.6.130.0070.07014.25
5.6.120.0070.06913.89
5.6.110.0000.07514.21
5.6.100.0070.06714.20
5.6.90.0070.06814.15
5.6.80.0030.07314.07
5.6.70.0030.06814.36
5.6.60.0000.07814.30
5.6.50.0160.06214.23
5.6.40.0060.07114.28
5.6.30.0000.07314.01
5.6.20.0070.07014.10
5.6.10.0030.06714.09
5.6.00.0030.07214.36

preferences:
39.71 ms | 401 KiB | 5 Q