3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo password_hash('hello', PASSWORD_DEFAULT); echo "\n"; echo password_hash('world', PASSWORD_DEFAULT); echo "\n"; echo password_hash('test', PASSWORD_DEFAULT); echo "\n";

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.3.10.0070.18316.48
7.3.00.0030.19516.45
7.2.130.0070.19116.84
7.2.120.0030.19316.82
7.2.110.0070.18416.91
7.2.100.0000.19316.55
7.2.90.0030.19216.96
7.2.80.0030.19116.84
7.2.70.0000.18916.50
7.2.60.0080.18616.69
7.2.50.0030.18316.72
7.2.40.0100.18516.62
7.2.30.0030.19116.90
7.2.20.0030.19316.64
7.2.10.0030.19016.65
7.2.00.0030.19518.02
7.1.250.0030.18815.35
7.1.240.0100.18415.59
7.1.230.0030.18915.50
7.1.220.0070.19015.63
7.1.210.0000.19015.75
7.1.200.0070.19315.71
7.1.190.0030.18915.48
7.1.180.0030.18915.70
7.1.170.0000.18915.61
7.1.160.0070.18315.68
7.1.150.0100.18715.42
7.1.140.0030.19415.72
7.1.130.0030.19115.76
7.1.120.0070.18815.39
7.1.110.0000.19115.51
7.1.100.0030.18916.83
7.1.90.0000.19715.32
7.1.80.0030.18915.51
7.1.70.0030.19316.27
7.1.60.0050.22417.59
7.1.50.0070.21716.21
7.1.40.0030.18615.45
7.1.30.0030.19815.62
7.1.20.0030.19015.38
7.1.10.0070.18615.60
7.1.00.0050.24219.07
7.0.330.0000.18315.27
7.0.320.0070.19615.30
7.0.310.0070.18614.93
7.0.300.0100.18715.18
7.0.290.0030.18715.38
7.0.280.0030.19815.38
7.0.270.0030.18815.08
7.0.260.0070.18815.11
7.0.250.0100.18515.16
7.0.240.0070.18014.99
7.0.230.0030.18515.43
7.0.220.0000.19315.13
7.0.210.0070.18915.22
7.0.200.0070.18315.86
7.0.190.0000.18415.14
7.0.180.0030.19615.46
7.0.170.0000.19215.15
7.0.160.0070.18915.28
7.0.150.0030.19915.33
7.0.140.0070.23618.69
7.0.130.0100.18615.35
7.0.120.0130.18115.37
7.0.110.0000.19515.46
7.0.100.0030.18415.04
7.0.90.0070.18615.18
7.0.80.0030.18015.46
7.0.70.0070.18514.99
7.0.60.0120.24317.57
7.0.50.0050.20616.54
7.0.40.0070.20816.80
7.0.30.0170.22516.84
7.0.20.0150.21116.74
7.0.10.0100.23416.71
7.0.00.0080.20316.76
5.6.380.0070.18713.94
5.6.370.0100.18714.01
5.6.360.0100.18314.13
5.6.350.0030.18714.05
5.6.340.0000.19214.18
5.6.330.0030.19213.97
5.6.320.0100.18813.91
5.6.310.0100.18914.09
5.6.300.0100.18614.33
5.6.290.0000.18914.26
5.6.280.0030.24417.50
5.6.270.0030.18614.26
5.6.260.0030.19014.03
5.6.250.0030.20114.28
5.6.240.0130.17814.28
5.6.230.0000.18713.98
5.6.220.0000.20314.47
5.6.210.0050.21617.43
5.6.200.0080.24116.24
5.6.190.0070.21117.32
5.6.180.0170.23517.32
5.6.170.0130.20617.31
5.6.160.0030.23616.00
5.6.150.0030.22416.07
5.6.140.0070.20116.10
5.6.130.0050.21216.22
5.6.120.0100.24017.65
5.6.110.0050.23617.61
5.6.100.0070.20817.71
5.6.90.0030.24117.65
5.6.80.0070.22317.38
5.6.70.0030.18714.04
5.6.60.0070.18414.07
5.6.50.0000.19714.12
5.6.40.0030.18714.13
5.6.30.0100.18914.33
5.6.20.0030.19713.79
5.6.10.0030.19614.38
5.6.00.0030.19514.32
5.5.380.0070.18410.97
5.5.370.0070.18811.01
5.5.360.0070.18510.69
5.5.350.0180.21115.65
5.5.340.0080.26014.33
5.5.330.0050.20715.48
5.5.320.0150.22215.51
5.5.310.0170.23315.65
5.5.300.0070.20814.25
5.5.290.0020.20814.43
5.5.280.0050.22915.95
5.5.270.0100.23515.90
5.5.260.0080.23915.82
5.5.250.0130.23415.79
5.5.240.0080.22715.48
5.5.230.0030.19110.44
5.5.220.0030.18910.55
5.5.210.0030.18810.85
5.5.200.0070.18110.85
5.5.190.0100.18710.96
5.5.180.0000.20110.83
5.5.170.0030.18811.15
5.5.160.0100.18311.04
5.5.150.0070.18210.92
5.5.140.0030.19211.08
5.5.130.0000.19210.85
5.5.120.0100.18511.08
5.5.110.0030.18511.00
5.5.100.0030.19310.69
5.5.90.0000.19710.80
5.5.80.0030.19110.88
5.5.70.0070.18810.99
5.5.60.0030.19210.80
5.5.50.0000.19410.88
5.5.40.0000.19410.77
5.5.30.0070.18610.48
5.5.20.0030.19210.88
5.5.10.0030.19110.48
5.5.00.0030.18910.49
5.4.450.0360.01914.95
5.4.440.0500.02515.07
5.4.430.0310.04115.10
5.4.420.0250.02015.19
5.4.410.0250.02315.21
5.4.400.0320.01714.74
5.4.390.0280.02314.83
5.4.380.0070.01814.86
5.4.370.0250.02214.88
5.4.360.0420.01714.91
5.4.350.0230.02214.96
5.4.340.0080.02214.95
5.4.330.0040.00810.36
5.4.320.0380.01815.08
5.4.310.0350.01814.87
5.4.300.0230.02014.94
5.4.290.0280.02314.86
5.4.280.0370.02014.85
5.4.270.0320.01914.83
5.4.260.0220.02614.70
5.4.250.0300.02414.92
5.4.240.0210.02415.00
5.4.230.0400.02514.71
5.4.220.0130.02315.02
5.4.210.0230.01914.81
5.4.200.0450.03114.99
5.4.190.0380.02515.03
5.4.180.0450.01614.95
5.4.170.0340.01514.78
5.4.160.0330.04214.78
5.4.150.0300.02414.82
5.4.140.0320.02313.72
5.4.130.0370.02013.42
5.4.120.0290.02613.59
5.4.110.0430.02313.54
5.4.100.0450.02113.39
5.4.90.0330.02613.41
5.4.80.0300.02313.50
5.4.70.0330.02513.40
5.4.60.0330.01813.60
5.4.50.0330.03113.36
5.4.40.0390.01913.48
5.4.30.0340.01613.40
5.4.20.0500.03713.57
5.4.10.0410.02313.58
5.4.00.0130.02113.26
5.3.290.0330.02312.63
5.3.280.0320.02412.67
5.3.270.0450.02012.70
5.3.260.0380.01912.69
5.3.250.0330.01712.73
5.3.240.0200.02912.66
5.3.230.0230.02412.62
5.3.220.0270.02512.61
5.3.210.0420.02212.55
5.3.200.0330.02812.56
5.3.190.0120.03412.69
5.3.180.0300.02612.76
5.3.170.0290.02212.73
5.3.160.0330.01812.62
5.3.150.0450.01812.65
5.3.140.0240.02312.62
5.3.130.0270.02512.70
5.3.120.0330.02512.72
5.3.110.0200.04312.74
5.3.100.0280.01812.58
5.3.90.0330.01612.73
5.3.80.0320.01912.63
5.3.70.0450.02012.66
5.3.60.0270.01812.70
5.3.50.0270.02212.61
5.3.40.0130.03712.58
5.3.30.0230.01912.54
5.3.20.0310.01512.68
5.3.10.0220.01712.57
5.3.00.0380.02312.53
5.2.170.0080.01312.38
5.2.160.0350.01712.38
5.2.150.0280.01712.38
5.2.140.0320.02012.38
5.2.130.0370.02112.38
5.2.120.0280.03112.38
5.2.110.0310.02112.37
5.2.100.0330.01512.37
5.2.90.0330.01712.37
5.2.80.0370.01812.37
5.2.70.0300.01912.37
5.2.60.0120.01812.37
5.2.50.0230.01612.37
5.2.40.0220.02412.37
5.2.30.0340.01312.37
5.2.20.0230.01612.37
5.2.10.0190.01812.37
5.2.00.0140.01512.37
5.1.60.0370.01512.37
5.1.50.0120.01312.37
5.1.40.0230.01512.37
5.1.30.0170.01812.37
5.1.20.0210.01312.37
5.1.10.0250.01912.37
5.1.00.0170.01812.37
5.0.50.0070.01412.37
5.0.40.0220.01112.37
5.0.30.0170.01512.37
5.0.20.0100.01212.37
5.0.10.0130.01412.37
5.0.00.0110.01712.36
4.4.90.0150.01012.37
4.4.80.0040.01512.37
4.4.70.0120.01112.37
4.4.60.0020.00712.37
4.4.50.0100.00812.37
4.4.40.0050.01512.37
4.4.30.0100.01012.37
4.4.20.0200.00912.37
4.4.10.0120.01512.37
4.4.00.0050.02012.37
4.3.110.0020.01212.37
4.3.100.0080.01212.37
4.3.90.0090.00512.37
4.3.80.0140.01112.36
4.3.70.0070.01212.36
4.3.60.0220.00912.36
4.3.50.0050.00712.36
4.3.40.0130.01312.36
4.3.30.0000.01212.36
4.3.20.0080.01412.36
4.3.10.0030.01112.36
4.3.00.0090.00712.36

preferences:
35.98 ms | 400 KiB | 5 Q