3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = password_hash('miroslaw', PASSWORD_DEFAULT); $input = 'miroslaw'; echo $password. PHP_EOL; echo password_verify('miroslaw', $password) ? 'Good' : 'Bad';

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.0050.14014.91
7.4.00.0070.13814.85
7.3.130.0080.13614.58
7.3.120.0010.14114.79
7.3.110.0070.13714.59
7.3.100.0070.13614.67
7.3.90.0040.13714.66
7.3.80.0050.13014.86
7.3.70.0040.13214.74
7.3.60.0080.12714.68
7.3.50.0080.12714.63
7.3.40.0070.13114.53
7.3.30.0020.13714.63
7.3.20.0070.13416.56
7.3.10.0070.13216.42
7.3.00.0050.12816.53
7.2.260.0070.13315.23
7.2.250.0100.13415.06
7.2.240.0040.13414.90
7.2.230.0040.13515.05
7.2.220.0040.13814.99
7.2.210.0040.13114.97
7.2.200.0060.13514.88
7.2.190.0030.13614.88
7.2.180.0070.12615.04
7.2.170.0070.12714.83
7.2.160.0070.12914.92
7.2.150.0020.13216.87
7.2.140.0110.12916.68
7.2.130.0080.13016.74
7.2.120.0040.13016.83
7.2.110.0030.13316.62
7.2.100.0050.12816.80
7.2.90.0060.12816.89
7.2.80.0050.13216.84
7.2.70.0040.12817.04
7.2.60.0070.12816.94
7.2.50.0070.12816.84
7.2.40.0040.12616.90
7.2.30.0070.12716.93
7.2.20.0060.12916.91
7.2.10.0020.13316.85
7.2.00.0040.13217.32
7.1.330.0110.13215.56
7.1.320.0090.13115.66
7.1.310.0040.13315.83
7.1.300.0020.12915.85
7.1.290.0080.12615.54
7.1.280.0080.12815.75
7.1.270.0070.13215.54
7.1.260.0070.12715.72
7.1.250.0030.13115.70
7.1.240.0030.13015.74
7.1.230.0030.13315.56
7.1.220.0050.12915.62
7.1.210.0010.13215.73
7.1.200.0050.12715.77
7.1.190.0030.13315.85
7.1.180.0000.13515.60
7.1.170.0060.13015.67
7.1.160.0080.12915.66
7.1.150.0040.12815.69
7.1.140.0040.12815.65
7.1.130.0070.12415.71
7.1.120.0100.13215.69
7.1.110.0080.12715.58
7.1.100.0020.13216.29
7.1.90.0000.13315.83
7.1.80.0010.13015.85
7.1.70.0050.14516.01
7.1.60.0040.14816.48
7.1.50.0050.14516.02
7.1.40.0040.12815.62
7.1.30.0040.13015.74
7.1.20.0020.13015.67
7.1.10.0030.12915.63
7.1.00.0070.15417.33
7.0.330.0050.13115.35
7.0.320.0070.13215.48
7.0.310.0030.13215.44
7.0.300.0040.12815.37
7.0.290.0020.13215.42
7.0.280.0020.13115.42
7.0.270.0040.12815.36
7.0.260.0100.12315.27
7.0.250.0040.13115.43
7.0.240.0060.13115.29
7.0.230.0040.13115.40
7.0.220.0040.12815.45
7.0.210.0050.12915.33
7.0.200.0190.12915.09
7.0.190.0070.12715.45
7.0.180.0060.12615.34
7.0.170.0070.12815.38
7.0.160.0080.12315.48
7.0.150.0020.13415.44
7.0.140.0040.13215.32
7.0.130.0070.12615.34
7.0.120.0060.12815.43
7.0.110.0110.12115.47
7.0.100.0040.13015.42
7.0.90.0040.12815.50
7.0.80.0030.13015.38
7.0.70.0070.12415.31
7.0.60.0100.13617.03
7.0.50.0050.13716.04
7.0.40.0060.15315.18
7.0.30.0110.13715.14
7.0.20.0110.15215.16
7.0.10.0060.15415.19
7.0.00.0030.15315.00
5.6.400.0010.13314.32
5.6.390.0090.12514.29
5.6.380.0030.13114.33
5.6.370.0040.13014.06
5.6.360.0020.13314.61
5.6.350.0030.13314.40
5.6.340.0070.12314.22
5.6.330.0020.13014.34
5.6.320.0060.12614.22
5.6.310.0040.12814.18
5.6.300.0060.13114.37
5.6.290.0040.13114.44
5.6.280.0070.15515.95
5.6.270.0060.12814.33
5.6.260.0030.12714.14
5.6.250.0040.12714.38
5.6.240.0030.12514.25
5.6.230.0020.13414.33
5.6.220.0070.12614.23
5.6.210.0070.14915.85
5.6.200.0070.15115.24
5.6.190.0020.14215.86
5.6.180.0120.14015.84
5.6.170.0080.14615.87
5.6.160.0030.14215.73
5.6.150.0070.13615.28
5.6.140.0030.15015.19
5.6.130.0070.15315.19
5.6.120.0040.13816.13
5.6.110.0070.13516.00
5.6.100.0060.13915.85
5.6.90.0080.14815.85
5.6.80.0050.15515.72
5.6.70.0040.12914.06
5.6.60.0060.12614.39
5.6.50.0030.12814.34
5.6.40.0050.12314.28
5.6.30.0070.12614.19
5.6.20.0050.13014.16
5.6.10.0030.13014.21
5.6.00.0010.12914.16
5.5.380.0020.13114.03
5.5.370.0020.13514.34
5.5.360.0060.13114.26
5.5.350.0080.14815.65
5.5.340.0060.14914.98
5.5.330.0050.14115.76
5.5.320.0120.13915.64
5.5.310.0090.13815.76
5.5.300.0050.15015.07
5.5.290.0050.13515.23
5.5.280.0090.14416.04
5.5.270.0040.13915.84
5.5.260.0040.14215.85
5.5.250.0060.14815.65
5.5.240.0040.13415.63
5.5.230.0040.12714.01
5.5.220.0060.12414.12
5.5.210.0040.13114.10
5.5.200.0050.12414.04
5.5.190.0060.12514.12
5.5.180.0040.13113.94
5.5.170.0030.13013.97
5.5.160.0040.12514.15
5.5.150.0040.12614.06
5.5.140.0030.13014.05
5.5.130.0040.13014.09
5.5.120.0040.12614.01
5.5.110.0070.13214.19
5.5.100.0060.12614.25
5.5.90.0070.12814.15
5.5.80.0060.13114.20
5.5.70.0070.13013.97
5.5.60.0010.13913.99
5.5.50.0040.12813.91
5.5.40.0040.12613.91
5.5.30.0020.13014.06
5.5.20.0070.12314.11
5.5.10.0070.13113.98
5.5.00.0040.12414.13

preferences:
37.43 ms | 400 KiB | 5 Q