3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo password_hash('this is a test', PASSWORD_DEFAULT, array('salt' => 'thisisatestthisis test')); echo "\n"; echo password_hash('this is a test', PASSWORD_DEFAULT, array('salt' => 'thisisatestthisis 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)
7.4.10.0130.13214.63
7.4.00.0080.13814.74
7.3.130.0100.13914.96
7.3.120.0070.13614.79
7.3.110.0070.13614.88
7.3.100.0050.13414.69
7.3.90.0070.13114.66
7.3.80.0030.13214.73
7.3.70.0030.13014.74
7.3.60.0050.12814.64
7.3.50.0050.13314.64
7.3.40.0070.12814.63
7.3.30.0020.14314.64
7.3.20.0070.12616.62
7.3.10.0080.13216.63
7.3.00.0050.12516.49
7.2.260.0070.13415.07
7.2.250.0100.13814.85
7.2.240.0050.13814.68
7.2.230.0050.13314.90
7.2.220.0050.13314.88
7.2.210.0080.12715.10
7.2.200.0100.12914.84
7.2.190.0070.13214.80
7.2.180.0030.13214.99
7.2.170.0070.12814.80
7.2.160.0070.13714.61
7.2.150.0030.13116.53
7.2.140.0030.13516.69
7.2.130.0080.12616.84
7.2.120.0080.13416.89
7.2.110.0070.12716.72
7.2.100.0070.12716.63
7.2.90.0050.13016.92
7.2.80.0030.13316.55
7.2.70.0050.13316.87
7.2.60.0040.13516.75
7.2.50.0100.13216.74
7.2.40.0050.13316.87
7.2.30.0030.13316.84
7.2.20.0050.13516.69
7.2.10.0030.13116.83
7.2.00.0040.12717.58
7.1.330.0030.13315.57
7.1.320.0070.13215.69
7.1.310.0070.12915.68
7.1.300.0070.12915.45
7.1.290.0070.12815.63
7.1.280.0070.12515.67
7.1.270.0020.13415.63
7.1.260.0080.13715.56
7.1.250.0080.13115.72
7.1.240.0030.13315.34
7.1.230.0000.13215.66
7.1.220.0070.13515.77
7.1.210.0000.13515.58
7.1.200.0100.12215.65
7.1.190.0030.13715.64
7.1.180.0100.13515.75
7.1.170.0030.13715.57
7.1.160.0100.12115.62
7.1.150.0070.13715.55
7.1.140.0030.13815.61
7.1.130.0000.13315.42
7.1.120.0070.12915.40
7.1.110.0070.12415.60
7.1.100.0020.13316.63
7.1.90.0030.12715.67
7.1.80.0030.13815.44
7.1.70.0000.13016.35
7.1.60.0080.15817.52
7.1.50.0150.15625.18
7.1.40.0000.13515.87
7.1.30.0100.12415.59
7.1.20.0100.12915.74
7.1.10.0100.12615.72
7.1.00.0070.16518.89
7.0.330.0070.12815.07
7.0.320.0100.12515.07
7.0.310.0000.13115.21
7.0.300.0000.13615.43
7.0.290.0030.13615.40
7.0.280.0000.13215.23
7.0.270.0000.13315.39
7.0.260.0030.13015.08
7.0.250.0100.12815.44
7.0.240.0070.12715.44
7.0.230.0070.13015.31
7.0.220.0030.13815.18
7.0.210.0030.12815.48
7.0.200.0080.13015.05
7.0.190.0030.13215.20
7.0.180.0000.13015.10
7.0.170.0030.14215.00
7.0.160.0000.13015.03
7.0.150.0030.13115.09
7.0.140.0050.17718.69
7.0.130.0100.12415.52
7.0.120.0030.13015.29
7.0.110.0030.13415.46
7.0.100.0030.13415.33
7.0.90.0030.13314.99
7.0.80.0000.13115.43
7.0.70.0070.17018.37
7.0.60.0050.17318.52
7.0.50.0000.15218.72
7.0.40.0050.15916.80
7.0.30.0050.17616.64
7.0.20.0050.15316.68
7.0.10.0030.17816.60
7.0.00.0070.17216.80
5.6.400.0070.13314.59
5.6.390.0100.12814.48
5.6.380.0070.13914.08
5.6.370.0030.13214.11
5.6.360.0030.12714.27
5.6.350.0070.12714.40
5.6.340.0100.13114.25
5.6.330.0070.12513.97
5.6.320.0030.12514.38
5.6.310.0070.12914.22
5.6.300.0070.12514.35
5.6.290.0030.13613.98
5.6.280.0030.18217.50
5.6.270.0030.12313.96
5.6.260.0000.14514.01
5.6.250.0100.12114.11
5.6.240.0000.13114.17
5.6.230.0070.12614.16
5.6.220.0000.18017.31
5.6.210.0030.14817.27
5.6.200.0020.15417.70
5.6.190.0020.15917.60
5.6.180.0070.14617.59
5.6.170.0000.16217.49
5.6.160.0100.17217.57
5.6.150.0050.18317.63
5.6.140.0050.17917.66
5.6.130.0030.17217.49
5.6.120.0050.17617.79
5.6.110.0020.17917.62
5.6.100.0050.17017.65
5.6.90.0080.14917.71
5.6.80.0020.17817.20
5.6.70.0050.17717.23
5.6.60.0020.18717.20
5.6.50.0070.18317.23
5.6.40.0070.16317.08
5.6.30.0030.14817.14
5.6.20.0030.17517.27
5.6.10.0020.17017.30
5.6.00.0070.16617.19
5.5.380.0030.13114.28
5.5.370.0100.12114.23
5.5.360.0030.16917.37
5.5.350.0030.18017.25
5.5.340.0030.16317.58
5.5.330.0050.15417.46
5.5.320.0030.17817.40
5.5.310.0050.16617.44
5.5.300.0050.16517.59
5.5.290.0020.18517.38
5.5.280.0030.17617.56
5.5.270.0050.17617.55
5.5.260.0100.16617.57
5.5.250.0020.18517.31
5.5.240.0020.18517.12
5.5.230.0020.18017.19
5.5.220.0050.17516.99
5.5.210.0030.15517.09
5.5.200.0070.17717.13
5.5.190.0000.16417.15
5.5.180.0070.17017.15
5.5.170.0100.12414.14
5.5.160.0070.17017.14
5.5.150.0020.17417.03
5.5.140.0050.15617.11
5.5.130.0070.14217.13
5.5.120.0030.14617.27
5.5.110.0030.17717.22
5.5.100.0030.18316.96
5.5.90.0020.16316.93
5.5.80.0050.17817.00
5.5.70.0030.16016.99
5.5.60.0050.17317.08
5.5.50.0050.17217.09
5.5.40.0100.17717.02
5.5.30.0050.17217.11
5.5.20.0050.18217.05
5.5.10.0070.17716.78
5.5.00.0020.18217.13
5.4.450.0070.03814.88
5.4.440.0040.03714.96
5.4.430.0040.02915.04
5.4.420.0070.04315.10
5.4.410.0060.03815.06
5.4.400.0080.03714.94
5.4.390.0050.02814.78
5.4.380.0050.03714.93
5.4.370.0060.03614.74
5.4.360.0070.03015.02
5.4.350.0030.03114.95
5.4.340.0030.04214.96
5.4.330.0060.00610.78
5.4.320.0020.03114.79
5.4.310.0060.03514.97
5.4.300.0040.02014.91
5.4.290.0060.02614.76
5.4.280.0050.03914.84
5.4.270.0030.04014.77
5.4.260.0070.03714.87
5.4.250.0030.03914.77
5.4.240.0030.02714.98
5.4.230.0050.03314.88
5.4.220.0020.04114.87
5.4.210.0030.04214.82
5.4.200.0030.04115.00
5.4.190.0030.04214.73
5.4.180.0070.03414.97
5.4.170.0020.04214.75
5.4.160.0050.04314.76
5.4.150.0030.04114.80
5.4.140.0000.04013.49
5.4.130.0030.03713.33
5.4.120.0030.02813.61
5.4.110.0030.03613.43
5.4.100.0040.04213.49
5.4.90.0020.02613.41
5.4.80.0020.03113.54
5.4.70.0070.03813.60
5.4.60.0050.03513.44
5.4.50.0050.02513.61
5.4.40.0020.03813.52
5.4.30.0030.04013.52
5.4.20.0070.03513.43
5.4.10.0080.02713.38
5.4.00.0050.03513.14
5.3.290.0020.03412.41
5.3.280.0020.03712.35
5.3.270.0070.03512.44
5.3.260.0030.03612.40
5.3.250.0020.02712.37
5.3.240.0020.03312.37
5.3.230.0060.03512.24
5.3.220.0090.03212.36
5.3.210.0020.04312.34
5.3.200.0030.03112.38
5.3.190.0040.03012.24
5.3.180.0020.03612.42
5.3.170.0000.04112.49
5.3.160.0070.03712.47
5.3.150.0030.03812.52
5.3.140.0000.04112.42
5.3.130.0050.04512.32
5.3.120.0000.04512.29
5.3.110.0000.04212.39
5.3.100.0030.03712.11
5.3.90.0020.03312.08
5.3.80.0010.04112.02
5.3.70.0020.04212.00
5.3.60.0070.03312.06
5.3.50.0020.03711.98
5.3.40.0050.03211.99
5.3.30.0010.02612.06
5.3.20.0050.03811.95
5.3.10.0030.03011.81
5.3.00.0080.03311.82
5.2.170.0070.05711.24
5.2.160.0070.05311.24
5.2.150.0000.03711.24
5.2.140.0070.06011.24
5.2.130.0030.05011.24
5.2.120.0030.04711.24
5.2.110.0030.05711.24
5.2.100.0030.06011.24
5.2.90.0000.06711.24
5.2.80.0070.05311.24
5.2.70.0000.06311.24
5.2.60.0070.06011.24
5.2.50.0000.05711.24
5.2.40.0030.06311.24
5.2.30.0070.03711.24
5.2.20.0030.06011.24
5.2.10.0070.04711.24
5.2.00.0030.06011.24
5.1.60.0070.05011.24
5.1.50.0030.05311.24
5.1.40.0030.05311.24
5.1.30.0030.05711.24
5.1.20.0000.05711.24
5.1.10.0030.05311.24
5.1.00.0000.03711.24
5.0.50.0030.04711.24
5.0.40.0000.04711.24
5.0.30.0070.06011.24
5.0.20.0030.03711.24
5.0.10.0030.04311.24
5.0.00.0000.06011.24
4.4.90.0000.03711.24
4.4.80.0030.02711.24
4.4.70.0070.02711.24
4.4.60.0000.03711.24
4.4.50.0070.03011.24
4.4.40.0030.05311.24
4.4.30.0000.03711.24
4.4.20.0000.03311.24
4.4.10.0030.02711.24
4.4.00.0030.05011.24
4.3.110.0000.03311.24
4.3.100.0000.03711.24
4.3.90.0000.03011.24
4.3.80.0030.05011.24
4.3.70.0030.03311.24
4.3.60.0100.02311.24
4.3.50.0030.03011.24
4.3.40.0000.05311.24
4.3.30.0030.03311.24
4.3.20.0000.03711.24
4.3.10.0000.03711.24
4.3.00.0030.03311.24

preferences:
36.84 ms | 400 KiB | 5 Q