3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "Madara is Awesome!"; $hash = password_hash($password, PASSWORD_BCRYPT, ["salt" => "MadaraIsBaws"]); //Note with salt. var_dump($hash); $verified = password_verify($password, $hash); var_dump($verified);

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.0110.00714.96
7.4.00.0110.00814.65
7.3.130.0130.00014.71
7.3.120.0120.00414.81
7.3.110.0050.01314.74
7.3.100.0080.00714.62
7.3.90.0090.00614.71
7.3.80.0050.01214.69
7.3.70.0040.00814.73
7.3.60.0060.00614.73
7.3.50.0020.00614.71
7.3.40.0050.00814.73
7.3.30.0060.00814.83
7.3.20.0070.00916.66
7.3.10.0020.01016.54
7.3.00.0040.00816.57
7.2.260.0080.01115.02
7.2.250.0070.01215.01
7.2.240.0080.01015.03
7.2.230.0080.01014.79
7.2.220.0020.01714.84
7.2.210.0050.00714.85
7.2.200.0020.01415.11
7.2.190.0010.00914.85
7.2.180.0030.01115.01
7.2.170.0050.00914.89
7.2.160.0030.01215.13
7.2.150.0070.00317.00
7.2.140.0060.00616.76
7.2.130.0040.00716.78
7.2.120.0120.00316.77
7.2.110.0030.00916.76
7.2.100.0070.01016.70
7.2.90.0000.01516.88
7.2.80.0000.01416.61
7.2.70.0030.00716.59
7.2.60.0090.00616.89
7.2.50.0150.00016.81
7.2.40.0060.00916.82
7.2.30.0030.01316.75
7.2.20.0060.01017.00
7.2.10.0070.01016.82
7.2.00.0060.00818.03
7.1.330.0050.00815.79
7.1.320.0040.00815.68
7.1.310.0050.00815.79
7.1.300.0120.00215.58
7.1.290.0080.00515.65
7.1.280.0020.00915.78
7.1.270.0040.00815.73
7.1.260.0040.00715.72
7.1.250.0040.00815.55
7.1.240.0040.00415.77
7.1.230.0030.01015.86
7.1.220.0030.00915.66
7.1.210.0040.00415.89
7.1.200.0030.01115.69
7.1.190.0060.00315.67
7.1.180.0000.01515.89
7.1.170.0000.01415.87
7.1.160.0030.00715.65
7.1.150.0000.01515.95
7.1.140.0070.01015.80
7.1.130.0000.01015.57
7.1.120.0030.00915.79
7.1.110.0110.00315.93
7.1.100.0000.01517.05
7.1.90.0100.00315.83
7.1.80.0070.00715.76
7.1.70.0040.00916.44
7.1.60.0050.01417.53
7.1.50.0050.01016.33
7.1.40.0040.01215.59
7.1.30.0070.00415.76
7.1.20.0070.00715.82
7.1.10.0030.01015.90
7.1.00.0050.03419.08
7.0.330.0070.00715.26
7.0.320.0070.00715.36
7.0.310.0050.00315.64
7.0.300.0090.00015.41
7.0.290.0060.00615.36
7.0.280.0080.00315.24
7.0.270.0060.00615.38
7.0.260.0030.00915.49
7.0.250.0070.00715.09
7.0.240.0110.00415.34
7.0.230.0000.01515.34
7.0.220.0030.01015.39
7.0.210.0030.00915.20
7.0.200.0050.00716.05
7.0.190.0040.01115.16
7.0.180.0040.00815.34
7.0.170.0000.01115.57
7.0.160.0030.00915.36
7.0.150.0090.00315.39
7.0.140.0020.04418.78
7.0.130.0070.00415.49
7.0.120.0030.01015.23
7.0.110.0000.00815.32
7.0.100.0050.03517.68
7.0.90.0150.03417.68
7.0.80.0100.02517.67
7.0.70.0100.04217.69
7.0.60.0040.02717.67
7.0.50.0070.02118.01
7.0.40.0080.02316.86
7.0.30.0100.02616.84
7.0.20.0050.04616.80
7.0.10.0070.03216.82
7.0.00.0120.05016.78
5.6.400.0030.00614.32
5.6.390.0120.00314.12
5.6.380.0030.01014.52
5.6.370.0030.00514.51
5.6.360.0040.00714.27
5.6.350.0060.00614.09
5.6.340.0060.01214.18
5.6.330.0080.00414.17
5.6.320.0070.01014.21
5.6.310.0070.00414.33
5.6.300.0040.01414.07
5.6.290.0060.00614.45
5.6.280.0020.04317.40
5.6.270.0000.01314.07
5.6.260.0060.00614.35
5.6.250.0090.03217.54
5.6.240.0060.04117.51
5.6.230.0080.03317.50
5.6.220.0120.03817.32
5.6.210.0150.03817.46
5.6.200.0060.03817.70
5.6.190.0070.02517.78
5.6.180.0070.03817.69
5.6.170.0090.04417.77
5.6.160.0050.03817.82
5.6.150.0090.04217.66
5.6.140.0100.03817.57
5.6.130.0000.04017.67
5.6.120.0080.03017.71
5.6.110.0100.04217.64
5.6.100.0050.02517.68
5.6.90.0070.04217.66
5.6.80.0050.03717.26
5.6.70.0100.03717.25
5.6.60.0080.02217.37
5.6.50.0020.04117.45
5.6.40.0110.04217.13
5.6.30.0160.04317.42
5.6.20.0050.04217.42
5.6.10.0050.02517.31
5.6.00.0070.04417.43
5.5.380.0050.03217.34
5.5.370.0100.03117.37
5.5.360.0070.03617.31
5.5.350.0070.02517.24
5.5.340.0100.02917.59
5.5.330.0060.03817.57
5.5.320.0050.02417.51
5.5.310.0070.03417.68
5.5.300.0050.02917.44
5.5.290.0100.04017.45
5.5.280.0070.04917.64
5.5.270.0090.02717.63
5.5.260.0030.03517.67
5.5.250.0130.04017.37
5.5.240.0090.02217.25
5.5.230.0060.04617.28
5.5.220.0050.02517.16
5.5.210.0030.03817.05
5.5.200.0110.02817.25
5.5.190.0080.04317.08
5.5.180.0080.03617.16
5.5.170.0100.00713.84
5.5.160.0030.03217.11
5.5.150.0050.02517.19
5.5.140.0070.02217.26
5.5.130.0130.01817.04
5.5.120.0020.02717.16
5.5.110.0080.02217.11
5.5.100.0110.01517.21
5.5.90.0070.02017.05
5.5.80.0040.02016.98
5.5.70.0070.02317.19
5.5.60.0070.02017.03
5.5.50.0020.02517.21
5.5.40.0070.02117.18
5.5.30.0070.02017.19
5.5.20.0060.02817.16
5.5.10.0040.01917.00
5.5.00.0040.02417.21
5.4.450.0050.04515.08
5.4.440.0020.04115.08
5.4.430.0070.04515.25
5.4.420.0080.03214.89
5.4.410.0010.02515.02
5.4.400.0050.04314.94
5.4.390.0050.04214.97
5.4.380.0030.02514.99
5.4.370.0050.02314.83
5.4.360.0070.03514.97
5.4.350.0120.03314.76
5.4.340.0070.03514.77
5.4.330.0070.00310.54
5.4.320.0060.04014.87
5.4.310.0070.02214.96
5.4.300.0110.01514.65
5.4.290.0050.02315.00
5.4.280.0060.02114.97
5.4.270.0050.02214.83
5.4.260.0020.02514.71
5.4.250.0020.02414.98
5.4.240.0000.02514.76
5.4.230.0100.01715.03
5.4.220.0050.02015.09
5.4.210.0050.01814.93
5.4.200.0040.02014.96
5.4.190.0090.03914.94
5.4.180.0040.02015.01
5.4.170.0030.01814.77
5.4.160.0050.02014.96
5.4.150.0030.01814.92
5.4.140.0000.02313.52
5.4.130.0060.01713.60
5.4.120.0020.01813.49
5.4.110.0020.01813.63
5.4.100.0050.01913.43
5.4.90.0030.01713.42
5.4.80.0000.02013.69
5.4.70.0050.01713.54
5.4.60.0100.01513.42
5.4.50.0060.01513.61
5.4.40.0050.01713.59
5.4.30.0080.01513.49
5.4.20.0000.02213.48
5.4.10.0050.02013.51
5.4.00.0030.01813.25
5.3.290.0050.02012.40
5.3.280.0030.02112.39
5.3.270.0030.01712.42
5.3.260.0030.01812.25
5.3.250.0030.02212.26
5.3.240.0000.02012.28
5.3.230.0060.01612.26
5.3.220.0020.01812.31
5.3.210.0030.02312.20
5.3.200.0050.01812.23
5.3.190.0030.01912.37
5.3.180.0050.01812.28
5.3.170.0080.01612.36
5.3.160.0080.01212.39
5.3.150.0020.02012.29
5.3.140.0040.01612.42
5.3.130.0020.01912.36
5.3.120.0050.02112.46
5.3.110.0050.01712.37
5.3.100.0030.01712.04
5.3.90.0040.01712.09
5.3.80.0100.01411.94
5.3.70.0040.02012.09
5.3.60.0020.02012.17
5.3.50.0020.02111.94
5.3.40.0000.02312.02
5.3.30.0020.01912.02
5.3.20.0030.01811.76
5.3.10.0090.01211.67
5.3.00.0020.02111.66
5.2.170.0030.02311.56
5.2.160.0030.02311.56
5.2.150.0000.02711.56
5.2.140.0070.05011.56
5.2.130.0000.02711.56
5.2.120.0070.02011.56
5.2.110.0030.04311.56
5.2.100.0100.03011.56
5.2.90.0030.06311.56
5.2.80.0030.02711.56
5.2.70.0000.03011.56
5.2.60.0070.04011.56
5.2.50.0070.06011.56
5.2.40.0070.05311.56
5.2.30.0000.03311.56
5.2.20.0070.04711.56
5.2.10.0070.05311.56
5.2.00.0030.04711.56
5.1.60.0000.03011.56
5.1.50.0070.05011.56
5.1.40.0070.04711.56
5.1.30.0130.05011.56
5.1.20.0070.04011.56
5.1.10.0070.05311.56
5.1.00.0000.04011.56
5.0.50.0030.04011.56
5.0.40.0030.03311.56
5.0.30.0000.05011.56
5.0.20.0030.03011.56
5.0.10.0070.04011.56
5.0.00.0100.05311.56
4.4.90.0030.03011.56
4.4.80.0070.02711.56
4.4.70.0030.01311.56
4.4.60.0030.03311.56
4.4.50.0030.01711.56
4.4.40.0000.05011.56
4.4.30.0000.02311.56
4.4.20.0000.03711.56
4.4.10.0030.03711.56
4.4.00.0130.01711.56
4.3.110.0070.02711.56
4.3.100.0000.04011.56
4.3.90.0030.02011.56
4.3.80.0030.03311.56
4.3.70.0070.02711.56
4.3.60.0030.03311.56
4.3.50.0000.02011.56
4.3.40.0030.03311.56
4.3.30.0030.02311.56
4.3.20.0000.01711.56
4.3.10.0000.01711.56
4.3.00.0000.01311.56

preferences:
35.33 ms | 401 KiB | 5 Q