3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'sup3r53cr3t!'; $hash = password_hash($password, PASSWORD_DEFAULT);

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.68
7.3.120.0130.06614.55
7.3.110.0000.07414.68
7.3.100.0130.06614.72
7.3.90.0000.07214.43
7.3.80.0130.06414.77
7.3.70.0000.07114.50
7.3.60.0030.07114.47
7.3.50.0060.07114.85
7.3.40.0030.06814.63
7.3.30.0030.07314.46
7.3.20.0030.06916.53
7.3.10.0070.06316.50
7.3.00.0070.06716.50
7.2.250.0070.07215.07
7.2.240.0100.07314.66
7.2.230.0000.07214.52
7.2.220.0100.07714.72
7.2.210.0070.07114.93
7.2.200.0030.06814.84
7.2.190.0070.06914.77
7.2.180.0000.07114.92
7.2.170.0000.07714.91
7.2.60.0070.06616.78
7.2.00.0030.07519.36
7.1.330.0070.07215.67
7.1.320.0130.06215.61
7.1.310.0000.07815.80
7.1.300.0030.07415.68
7.1.290.0030.07115.39
7.1.280.0070.06315.67
7.1.270.0030.07115.63
7.1.260.0030.06915.70
7.1.100.0030.07317.81
7.1.70.0000.06817.11
7.1.60.0030.12419.46
7.1.50.0170.08716.93
7.1.00.0070.16322.33
7.0.200.0000.06816.59
7.0.140.0070.15722.09
7.0.60.0100.15319.90
7.0.50.0100.09717.66
7.0.40.0100.09720.24
7.0.30.0030.11320.06
7.0.20.0330.15020.16
7.0.10.0070.11020.17
7.0.00.0000.10320.11
5.6.280.0000.16721.12
5.6.210.0000.10320.54
5.6.200.0100.11318.19
5.6.190.0200.14320.41
5.6.180.3930.09720.58
5.6.170.0300.09720.41
5.6.160.0000.11720.54
5.6.150.0130.15318.14
5.6.140.0030.09718.28
5.6.130.0070.10718.16
5.6.120.0170.15321.04
5.6.110.0030.10020.99
5.6.100.0100.15721.00
5.6.90.0130.16320.99
5.6.80.0100.09320.35
5.6.70.0200.14320.36
5.5.350.0230.15720.38
5.5.340.0030.11317.98
5.5.330.0030.12320.21
5.5.320.0600.13720.47
5.5.310.0230.11020.27
5.5.300.0100.15717.97
5.5.290.0000.11317.98
5.5.280.0130.15320.73
5.5.270.0130.15720.86
5.5.260.0200.15020.78
5.5.250.0200.15320.65
5.5.240.0030.12020.00
5.4.450.0400.07319.64
5.4.440.0770.06019.46
5.4.430.0770.06719.47
5.4.420.0630.00019.25
5.4.410.0100.05318.99
5.4.400.0570.06018.69
5.4.390.0200.06018.70
5.4.380.0130.06318.70
5.4.370.0070.04018.62
5.4.360.0070.05018.69
5.4.350.0060.04811.97
5.4.340.0070.04111.97
5.4.320.0060.03712.45
5.4.310.0080.03912.45
5.4.300.0070.04112.45
5.4.290.0100.05012.43
5.4.280.0060.05012.33
5.4.270.0090.04112.33
5.4.260.0090.03512.33
5.4.250.0080.03512.33
5.4.240.0080.03612.33
5.4.230.0080.04112.32
5.4.220.0040.03912.32
5.4.210.0050.03712.32
5.4.200.0060.03812.32
5.4.190.0040.04012.32
5.4.180.0090.03712.32
5.4.170.0060.03812.33
5.4.160.0110.03112.33
5.4.150.0050.03712.32
5.4.140.0110.04612.01
5.4.130.0070.03811.99
5.4.120.0040.04011.95
5.4.110.0050.04511.95
5.4.100.0080.04311.95
5.4.90.0090.05511.95
5.4.80.0070.05211.95
5.4.70.0050.03711.95
5.4.60.0080.04611.94
5.4.50.0040.04111.95
5.4.40.0040.03811.93
5.4.30.0160.03511.93
5.4.20.0120.04311.93
5.4.10.0060.04011.93
5.4.00.0070.03611.43
5.3.290.0030.04112.80
5.3.280.0090.04712.70
5.3.270.0110.04712.72
5.3.260.0040.04512.71
5.3.250.0040.04312.72
5.3.240.0080.03712.72
5.3.230.0070.04812.70
5.3.220.0110.05012.68
5.3.210.0110.05012.68
5.3.200.0090.04512.68
5.3.190.0040.03912.68
5.3.180.0060.03812.67
5.3.170.0090.04812.67
5.3.160.0120.04412.68
5.3.150.0120.05012.67
5.3.140.0100.03912.66
5.3.130.0050.04012.66
5.3.120.0120.04012.66
5.3.110.0080.03812.66
5.3.100.0050.03812.12
5.3.90.0070.03612.09
5.3.80.0050.04412.07
5.3.70.0080.03812.07
5.3.60.0090.03912.07
5.3.50.0060.03812.00
5.3.40.0060.03812.00
5.3.30.0070.03811.95
5.3.20.0100.04511.72
5.3.10.0090.04711.70
5.3.00.0070.05011.68
5.2.170.0080.0399.18
5.2.160.0070.0379.18
5.2.150.0040.0399.18
5.2.140.0070.0389.18
5.2.130.0050.0309.14
5.2.120.0050.0329.14
5.2.110.0060.0309.14
5.2.100.0060.0329.14
5.2.90.0050.0419.14
5.2.80.0090.0379.14
5.2.70.0070.0399.14
5.2.60.0100.0389.08
5.2.50.0040.0439.06
5.2.40.0060.0399.04
5.2.30.0120.0499.01
5.2.20.0050.0399.00
5.2.10.0080.0348.92
5.2.00.0030.0428.78
5.1.60.0070.0258.06
5.1.50.0040.0288.06
5.1.40.0060.0248.04
5.1.30.0080.0288.39
5.1.20.0090.0318.41
5.1.10.0080.0408.14
5.1.00.0060.0328.14
5.0.50.0050.0246.61
5.0.40.0030.0216.48
5.0.30.0070.0346.29
5.0.20.0120.0296.26
5.0.10.0050.0466.24
5.0.00.0040.0426.23
4.4.90.0050.0214.78
4.4.80.0040.0214.76
4.4.70.0030.0224.76
4.4.60.0040.0214.76
4.4.50.0070.0194.77
4.4.40.0030.0354.71
4.4.30.0020.0234.76
4.4.20.0030.0234.84
4.4.10.0030.0234.85
4.4.00.0080.0284.76
4.3.110.0040.0224.67
4.3.100.0030.0224.67
4.3.90.0030.0224.64
4.3.80.0040.0324.58
4.3.70.0010.0244.63
4.3.60.0040.0214.62
4.3.50.0020.0244.63
4.3.40.0080.0284.54
4.3.30.0020.0223.28
4.3.20.0040.0203.26
4.3.10.0050.0193.22
4.3.00.0100.0306.64

preferences:
36.71 ms | 401 KiB | 5 Q