3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = password_hash('test', PASSWORD_DEFAULT); var_dump(password_virify('test', '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)
5.4.340.0090.04412.01
5.4.320.0070.05212.50
5.4.310.0150.04912.49
5.4.300.0110.04712.50
5.4.290.0100.05312.49
5.4.280.0080.05012.39
5.4.270.0050.05112.39
5.4.260.0120.05112.39
5.4.250.0080.05412.39
5.4.240.0100.07012.39
5.4.230.0100.05812.38
5.4.220.0050.05212.38
5.4.210.0070.05012.38
5.4.200.0060.05212.38
5.4.190.0120.07912.38
5.4.180.0130.06012.38
5.4.170.0100.04912.39
5.4.160.0150.05112.38
5.4.150.0080.04712.38
5.4.140.0080.05012.07
5.4.130.0090.04512.05
5.4.120.0050.05212.02
5.4.110.0110.04612.01
5.4.100.0070.04712.01
5.4.90.0060.05112.01
5.4.80.0100.04712.01
5.4.70.0050.05012.00
5.4.60.0050.05012.00
5.4.50.0050.05212.00
5.4.40.0100.04612.00
5.4.30.0080.04611.99
5.4.20.0090.04711.98
5.4.10.0090.04911.99
5.4.00.0030.05611.49
5.3.290.0080.05312.80
5.3.280.0080.04912.71
5.3.270.0080.05212.72
5.3.260.0090.05212.72
5.3.250.0080.04912.72
5.3.240.0100.05012.72
5.3.230.0070.05012.71
5.3.220.0080.05112.68
5.3.210.0070.05412.68
5.3.200.0110.04712.68
5.3.190.0100.04712.68
5.3.180.0060.05212.68
5.3.170.0160.04212.67
5.3.160.0070.05112.67
5.3.150.0060.05512.68
5.3.140.0050.05212.66
5.3.130.0080.05112.65
5.3.120.0080.05212.66
5.3.110.0150.04812.66
5.3.100.0080.04912.12
5.3.90.0090.05112.09
5.3.80.0070.04912.07
5.3.70.0080.05312.08
5.3.60.0120.04512.06
5.3.50.0160.07112.00
5.3.40.0060.05412.00
5.3.30.0080.04911.95
5.3.20.0070.04711.73
5.3.10.0090.04611.70
5.3.00.0100.05011.69
5.2.170.0080.0429.19
5.2.160.0060.0429.18
5.2.150.0070.0429.19
5.2.140.0030.0479.18
5.2.130.0080.0499.14
5.2.120.0110.0559.14
5.2.110.0120.0679.15
5.2.100.0070.0509.14
5.2.90.0060.0419.14
5.2.80.0060.0439.14
5.2.70.0050.0519.14
5.2.60.0120.0409.09
5.2.50.0090.0519.06
5.2.40.0080.0399.04
5.2.30.0120.0399.01
5.2.20.0110.0659.01
5.2.10.0050.0408.92
5.2.00.0070.0408.78
5.1.60.0060.0338.07
5.1.50.0100.0288.06
5.1.40.0070.0318.05
5.1.30.0050.0368.39
5.1.20.0080.0348.42
5.1.10.0060.0348.14
5.1.00.0060.0338.14
5.0.50.0060.0266.62
5.0.40.0030.0286.48
5.0.30.0070.0386.29
5.0.20.0060.0266.27
5.0.10.0070.0266.24
5.0.00.0050.0376.23
4.4.90.0070.0174.78
4.4.80.0030.0224.75
4.4.70.0040.0214.75
4.4.60.0060.0194.75
4.4.50.0020.0224.77
4.4.40.0050.0324.71
4.4.30.0040.0214.76
4.4.20.0060.0214.84
4.4.10.0030.0234.84
4.4.00.0070.0284.76
4.3.110.0020.0234.66
4.3.100.0010.0234.67
4.3.90.0040.0194.63
4.3.80.0030.0304.59
4.3.70.0050.0194.63
4.3.60.0030.0204.63
4.3.50.0020.0224.63
4.3.40.0030.0314.54
4.3.30.0030.0203.28
4.3.20.0070.0173.26
4.3.10.0020.0213.21
4.3.00.0230.0308.18

preferences:
149.84 ms | 1386 KiB | 7 Q