3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'andre'; $hash = password_hash($password, PASSWORD_DEFAULT); echo $hash . '<br />'; # $2y$10$PwbhVaqzuUSl5wSdi.iCK.RBz5pQp/a.6lRdSRttY8s2qs7dn5hTq $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.00.0070.13914.95
7.3.120.0120.13114.75
7.3.110.0070.13814.71
7.3.100.0070.13514.91
7.3.90.0100.13114.78
7.3.80.0000.13614.75
7.3.70.0020.13114.73
7.3.60.0030.13614.80
7.3.50.0050.12814.86
7.3.40.0030.13214.78
7.3.30.0050.13014.61
7.3.20.0050.13516.47
7.3.10.0060.13116.58
7.3.00.0030.13216.64
7.2.250.0070.14015.15
7.2.240.0050.14514.89
7.2.230.0030.13514.93
7.2.220.0030.13415.17
7.2.210.0070.13215.06
7.2.200.0050.13114.97
7.2.190.0100.13114.89
7.2.180.0050.13315.01
7.2.170.0050.12715.01
7.2.160.0070.12414.84
7.2.150.0130.13516.69
7.2.140.0030.13216.98
7.2.130.0060.13616.94
7.2.120.0030.13417.03
7.2.110.0080.12516.79
7.2.100.0030.13017.04
7.2.90.0030.13216.93
7.2.80.0070.12816.77
7.2.70.0100.12816.88
7.2.60.0020.13216.79
7.2.50.0030.12816.82
7.2.40.0050.13016.90
7.2.30.0030.13216.94
7.2.20.0030.13116.81
7.2.10.0070.13116.88
7.2.00.0050.13116.92
7.1.330.0070.13515.70
7.1.320.0030.13415.88
7.1.310.0050.13415.87
7.1.300.0030.14415.82
7.1.290.0100.12715.65
7.1.280.0070.12915.73
7.1.270.0000.13515.78
7.1.260.0030.13115.78
7.1.250.0050.13015.71
7.1.240.0030.13315.75
7.1.230.0070.13215.72
7.1.220.0000.13515.84
7.1.210.0030.13215.63
7.1.200.0070.13015.85
7.1.190.0000.13315.79
7.1.180.0030.12915.46
7.1.170.0030.13115.63
7.1.160.0100.12615.48
7.1.150.0030.12515.77
7.1.140.0070.12315.76
7.1.130.0000.12815.83
7.1.120.0030.13815.54
7.1.110.0070.12915.60
7.1.100.0070.12615.88
7.1.90.0030.13615.82
7.1.80.0030.13415.58
7.1.70.0030.12916.47
7.1.60.0050.15217.86
7.1.50.0070.16416.40
7.1.40.0030.12515.64
7.1.30.0030.13315.55
7.1.20.0070.12915.63
7.1.10.0030.13015.69
7.1.00.0070.15018.94
7.0.330.0070.12915.57
7.0.320.0070.13215.15
7.0.310.0100.13015.23
7.0.300.0000.12815.17
7.0.290.0030.13415.19
7.0.280.0030.13215.13
7.0.270.0030.12415.12
7.0.260.0070.12915.38
7.0.250.0030.13215.41
7.0.240.0070.13415.41
7.0.230.0030.12815.38
7.0.220.0070.12815.44
7.0.210.0100.12815.23
7.0.200.0050.12615.79
7.0.190.0070.12915.32
7.0.180.0030.13015.31
7.0.170.0030.12915.57
7.0.160.0030.13415.44
7.0.150.0030.13215.49
7.0.140.0050.17618.84
7.0.130.0030.13215.14
7.0.120.0000.12915.43
7.0.110.0070.12815.33
7.0.100.0070.12515.27
7.0.90.0030.12715.37
7.0.80.0030.13015.45
7.0.70.0070.13015.34
7.0.60.0030.14317.69
7.0.50.0050.16116.74
7.0.40.0080.17817.52
7.0.30.0170.17217.45
7.0.20.0170.16717.45
7.0.10.0180.17017.50
7.0.00.0080.17117.50
5.6.400.0030.13214.84
5.6.390.0030.13814.84
5.6.380.0130.12114.84
5.6.370.0030.13314.84
5.6.360.0130.12614.84
5.6.350.0030.13414.84
5.6.340.0000.13614.84
5.6.330.0000.13514.84
5.6.320.0030.13014.84
5.6.310.0000.13414.84
5.6.300.0100.12314.84
5.6.290.0000.13414.84
5.6.280.0070.17917.91
5.6.270.0100.13014.84
5.6.260.0070.12814.84
5.6.250.0030.12914.84
5.6.240.0030.13014.84
5.6.230.0000.13314.84
5.6.220.0100.12114.84
5.6.210.0070.17717.77
5.6.200.0020.17816.53
5.6.190.0070.17517.73
5.6.180.1630.14717.74
5.6.170.0120.17917.66
5.6.160.0030.16517.65
5.6.150.0050.14516.52
5.6.140.0030.18016.53
5.6.130.0030.15216.51
5.6.120.0100.15117.91
5.6.110.0100.16217.94
5.6.100.0050.17417.97
5.6.90.0030.17817.96
5.6.80.0080.15917.60
5.6.70.0080.13117.68
5.6.60.0030.12814.84
5.6.50.0070.12014.84
5.6.40.0000.13114.84
5.6.30.0000.12714.84
5.6.20.0000.13114.84
5.6.10.0030.13014.84
5.6.00.0000.12914.84
5.5.380.0070.13014.84
5.5.370.0030.13014.84
5.5.360.0030.12714.84
5.5.350.0100.14617.63
5.5.340.0020.14416.43
5.5.330.0050.17417.46
5.5.320.0120.15917.50
5.5.310.0180.16617.54
5.5.300.0020.14816.41
5.5.290.0100.16516.46
5.5.280.0030.15817.91
5.5.270.0070.16817.84
5.5.260.0050.17717.79
5.5.250.0020.17517.69
5.5.240.0100.17617.49
5.5.230.0070.12514.84
5.5.220.0000.13214.84
5.5.210.0030.12614.84
5.5.200.0130.12314.84
5.5.190.0030.13514.84
5.5.180.0070.12914.84
5.5.170.0070.12914.84
5.5.160.0100.12014.84
5.5.150.0030.13014.84
5.5.140.0070.12914.84
5.5.130.0070.13314.84
5.5.120.0070.12514.84
5.5.110.0030.12814.84
5.5.100.0100.12814.84
5.5.90.0030.13014.84
5.5.80.0070.13114.84
5.5.70.0000.13414.84
5.5.60.0030.13014.84
5.5.50.0070.12614.84
5.5.40.0030.13114.84
5.5.30.0000.13314.84
5.5.20.0030.12914.84
5.5.10.0030.13414.84
5.5.00.0030.12814.84
5.4.450.0330.03117.23
5.4.440.0300.03217.16
5.4.430.0420.03217.13
5.4.420.0430.02517.15
5.4.410.0450.03117.09
5.4.400.0240.03916.76
5.4.390.0550.04116.65
5.4.380.0190.03216.67
5.4.370.0070.03016.66
5.4.360.0020.03316.78
5.4.350.0040.02213.41
5.4.340.0040.02613.41
5.4.330.0060.00314.84
5.4.320.0040.02413.65
5.4.310.0060.02213.64
5.4.300.0040.02413.65
5.4.290.0060.02213.64
5.4.280.0040.02213.60
5.4.270.0020.02513.60
5.4.260.0020.02413.60
5.4.250.0120.03616.70
5.4.240.0060.02516.83
5.4.230.0030.03716.74
5.4.220.0030.03216.81
5.4.210.0050.02616.76
5.4.200.0070.02816.83
5.4.190.0100.02716.84
5.4.180.0050.03016.81
5.4.170.0100.02516.86
5.4.160.0130.02216.71
5.4.150.0060.02816.71
5.4.140.0050.02715.68
5.4.130.0100.02015.54
5.4.120.0030.03315.57
5.4.110.0080.02615.51
5.4.100.0080.03315.63
5.4.90.0030.02915.49
5.4.80.0020.03015.60
5.4.70.0030.02915.59
5.4.60.0100.03715.66
5.4.50.0000.03015.56
5.4.40.0100.02315.62
5.4.30.0070.02915.63
5.4.20.0050.04015.51
5.4.10.0070.02815.61
5.4.00.0060.02815.27
5.3.290.0070.02113.82
5.3.280.0050.02714.76
5.3.270.0100.02514.73
5.3.260.0070.02514.72
5.3.250.0030.02614.73
5.3.240.0060.03114.57
5.3.230.0070.02714.72
5.3.220.0060.02914.71
5.3.210.0110.02414.65
5.3.200.0060.04114.64
5.3.190.0050.04314.64
5.3.180.0050.02714.62
5.3.170.0090.02414.72
5.3.160.0050.02814.75
5.3.150.0030.03114.55
5.3.140.0100.02814.71
5.3.130.0070.02614.54
5.3.120.0080.02514.63
5.3.110.0070.02914.70
5.3.100.0070.02714.38
5.3.90.0050.03614.43
5.3.80.0020.03314.51
5.3.70.0130.02614.43
5.3.60.0070.03114.46
5.3.50.0140.03114.39
5.3.40.0070.02514.47
5.3.30.0070.03214.38
5.3.20.0080.02114.19
5.3.10.0030.03014.09
5.3.00.0030.03114.20
5.2.170.0030.04311.06
5.2.160.0000.04311.17
5.2.150.0030.06311.07
5.2.140.0030.06011.16
5.2.130.0030.04311.11
5.2.120.0030.04011.13
5.2.110.0030.04011.11
5.2.100.0030.04011.20
5.2.90.0000.04311.25
5.2.80.0070.06011.08
5.2.70.0070.04011.02
5.2.60.0070.04011.14
5.2.50.0000.05011.02
5.2.40.0100.03311.01
5.2.30.0100.03710.91
5.2.20.0070.04710.84
5.2.10.0070.05710.79
5.2.00.0070.04010.48
5.1.60.0130.04310.05
5.1.50.0000.0409.93
5.1.40.0000.0379.89
5.1.30.0100.04710.09
5.1.20.0070.03010.35
5.1.10.0000.03710.21
5.1.00.0070.03710.12
5.0.50.0100.0208.56
5.0.40.0000.0308.43
5.0.30.0000.0438.24
5.0.20.0000.0278.11
5.0.10.0030.0278.13
5.0.00.0030.0408.15
4.4.90.0000.0235.83
4.4.80.0000.0205.75
4.4.70.0030.0235.77
4.4.60.0000.0235.75
4.4.50.0000.0235.77
4.4.40.0070.0305.90
4.4.30.0070.0175.78
4.4.20.0000.0235.85
4.4.10.0030.0205.89
4.4.00.0000.0335.82
4.3.110.0100.0135.70
4.3.100.0030.0205.66
4.3.90.0130.0205.67
4.3.80.0030.0335.68
4.3.70.0000.0205.75
4.3.60.0030.0175.71
4.3.50.0070.0275.67
4.3.40.0070.0375.66
4.3.30.0030.0205.55
4.3.20.0000.0235.55
4.3.10.0030.0175.55
4.3.00.0170.0276.29

preferences:
36.24 ms | 401 KiB | 5 Q