3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '<form action="demo_form.asp" method="post">  password: <input type="text" name="fname"><br>  <input type="submit" value="Submit"></form>'; $randompassword ='thisismypassword'; $showpass = password_hash($randompassword, PASSWORD_BCRYPT); if (password_verify($randompassword, $showpass)) { echo 'Password is valid!'; } else { echo 'Invalid password.'; }?>

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.13614.77
7.3.120.0100.12814.83
7.3.110.0030.13614.43
7.3.100.0130.12614.84
7.3.90.0050.13114.59
7.3.80.0080.13414.64
7.3.70.0030.13314.64
7.3.60.0030.12814.74
7.3.50.0030.13314.56
7.3.40.0050.12714.63
7.3.30.0030.12714.70
7.3.20.0070.12416.49
7.3.10.0020.12816.68
7.3.00.0100.12816.61
7.2.250.0070.13814.84
7.2.240.0100.13214.83
7.2.230.0080.13214.87
7.2.220.0050.13614.93
7.2.210.0050.13514.86
7.2.200.0020.13414.99
7.2.190.0020.13515.01
7.2.180.0050.13414.99
7.2.170.0030.13514.85
7.2.160.0030.13114.93
7.2.150.0050.13016.78
7.2.140.0030.13116.80
7.2.130.0000.13516.72
7.2.120.0050.12816.69
7.2.110.0030.13116.96
7.2.100.0050.12916.62
7.2.90.0070.12916.84
7.2.80.0020.13316.93
7.2.70.0030.13216.98
7.2.60.0260.12616.65
7.2.50.0050.12816.86
7.2.40.0050.12816.92
7.2.30.0030.13716.85
7.2.20.0020.13616.78
7.2.10.0050.13816.83
7.2.00.0080.12717.66
7.1.330.0050.13215.83
7.1.320.0070.13015.76
7.1.310.0070.13015.68
7.1.300.0020.13615.70
7.1.290.0050.12815.60
7.1.280.0030.12715.72
7.1.270.0080.12815.63
7.1.260.0050.12615.69
7.1.250.0050.13115.74
7.1.240.0000.13215.73
7.1.230.0000.13715.79
7.1.220.0070.12515.70
7.1.210.0070.12915.71
7.1.200.0020.13515.61
7.1.190.0030.13015.56
7.1.180.0000.13715.77
7.1.170.0070.12415.74
7.1.160.0030.12915.56
7.1.150.0030.12815.71
7.1.140.0000.13115.65
7.1.130.0070.12515.91
7.1.120.0000.13215.46
7.1.110.0030.13315.70
7.1.100.0050.13316.75
7.1.90.0100.12815.89
7.1.80.0030.12715.82
7.1.70.0020.13416.47
7.1.60.0050.16617.49
7.1.50.0070.15916.32
7.1.40.0030.13615.53
7.1.30.0030.13115.84
7.1.20.0000.13015.84
7.1.10.0030.13715.80
7.1.00.0030.18219.09
7.0.330.0100.12815.13
7.0.320.0030.12815.43
7.0.310.0030.13415.34
7.0.300.0030.13215.52
7.0.290.0000.13715.30
7.0.280.0070.12615.52
7.0.270.0070.12815.08
7.0.260.0030.13215.28
7.0.250.0070.12415.48
7.0.240.0030.13815.07
7.0.230.0100.12215.30
7.0.220.0070.13115.17
7.0.210.0000.14015.50
7.0.200.0070.13015.13
7.0.190.0000.12815.52
7.0.180.0000.13315.41
7.0.170.0030.13215.35
7.0.160.0030.12815.02
7.0.150.0130.12715.19
7.0.140.0100.17018.54
7.0.130.0000.13715.54
7.0.120.0030.13015.36
7.0.110.0030.13815.31
7.0.100.0100.12715.49
7.0.90.0030.12315.25
7.0.80.0070.12915.23
7.0.70.0070.12815.08
7.0.60.0080.16317.66
7.0.50.0050.17416.56
7.0.40.0050.18716.56
7.0.30.0050.15416.76
7.0.20.0170.15416.88
7.0.10.0070.15816.80
7.0.00.0030.18316.65
5.6.400.0070.13114.65
5.6.390.0030.12814.48
5.6.380.0100.12314.34
5.6.370.0070.13013.90
5.6.360.0070.13414.21
5.6.350.0070.12614.40
5.6.340.0070.13514.67
5.6.330.0030.13314.37
5.6.320.0000.13614.57
5.6.310.0030.14014.16
5.6.300.0030.13014.20
5.6.290.0070.13314.27
5.6.280.0020.18617.61
5.6.270.0100.12514.41
5.6.260.0000.14114.43
5.6.250.0070.12614.26
5.6.240.0100.12314.14
5.6.230.0130.12514.12
5.6.220.0030.12714.29
5.6.210.0050.14317.35
5.6.200.0070.17516.06
5.6.190.0030.14517.49
5.6.180.0150.14517.27
5.6.170.0130.17317.39
5.6.160.0100.16717.35
5.6.150.0070.18216.08
5.6.140.0130.16616.19
5.6.130.0080.17716.15
5.6.120.0050.17917.59
5.6.110.0000.14817.63
5.6.100.0030.17217.66
5.6.90.0050.17617.60
5.6.80.0030.14717.23
5.6.70.0000.13014.17
5.6.60.0000.13214.22
5.6.50.0000.13014.35
5.6.40.0070.12714.38
5.6.30.0100.12714.24
5.6.20.0030.13014.29
5.6.10.0000.14214.07
5.6.00.0030.12914.04
5.5.380.0030.12614.14
5.5.370.0070.13113.99
5.5.360.0070.12814.31
5.5.350.0130.16617.37
5.5.340.0070.17215.95
5.5.330.0030.14417.19
5.5.320.0150.16317.23
5.5.310.0080.15317.09
5.5.300.0030.17916.11
5.5.290.0070.17516.16
5.5.280.0050.14317.67
5.5.270.0050.16617.65
5.5.260.0080.17217.44
5.5.250.0100.15917.08
5.5.240.0150.17317.04
5.5.230.0000.13514.41
5.5.220.0030.13314.05
5.5.210.0030.13014.05
5.5.200.0030.13114.03
5.5.190.0100.12614.25
5.5.180.0070.13014.03
5.5.170.0070.13114.01
5.5.160.0070.12614.00
5.5.150.0000.13214.00
5.5.140.0070.12614.01
5.5.130.0000.13414.02
5.5.120.0000.13314.00
5.5.110.0070.12214.04
5.5.100.0030.13014.04
5.5.90.0000.12714.06
5.5.80.0030.13214.00
5.5.70.0030.13013.98
5.5.60.0070.12714.09
5.5.50.0070.12114.17
5.5.40.0030.13213.91
5.5.30.0100.12214.14
5.5.20.0100.12614.18
5.5.10.0000.13413.93
5.5.00.0030.12414.20
5.4.450.0480.03415.38
5.4.440.0120.02615.04
5.4.430.0250.02215.00
5.4.420.0340.02215.14
5.4.410.0370.01815.10
5.4.400.0130.02314.82
5.4.390.0100.01815.05
5.4.380.0190.03014.78
5.4.370.0220.03014.73
5.4.360.0300.02814.71
5.4.350.0200.03814.70
5.4.340.0180.03314.74
5.4.330.0030.00310.95
5.4.320.0050.02111.71
5.4.310.0060.02311.67
5.4.300.0060.01911.67
5.4.290.0060.02011.68
5.4.280.0040.02211.59
5.4.270.0040.02111.56
5.4.260.0050.02111.68
5.4.250.0040.02311.64
5.4.240.0050.02111.58
5.4.230.0040.02311.45
5.4.220.0030.02011.57
5.4.210.0020.02211.55
5.4.200.0050.02111.57
5.4.190.0050.01811.58
5.4.180.0040.02111.67
5.4.170.0040.02211.59
5.4.160.0040.02011.51
5.4.150.0030.02011.60
5.4.140.0060.02011.46
5.4.130.0040.02011.43
5.4.120.0050.01811.28
5.4.110.0020.02211.41
5.4.100.0050.01911.38
5.4.90.0020.02611.45
5.4.80.0060.02011.38
5.4.70.0040.01911.36
5.4.60.0020.02111.51
5.4.50.0040.02011.43
5.4.40.0070.01911.44
5.4.30.0070.01811.44
5.4.20.0020.02111.39
5.4.10.0040.02111.42
5.4.00.0030.02411.21
5.3.290.0060.03812.80
5.3.280.0070.03612.71
5.3.270.0120.03912.73
5.3.260.0060.03812.72
5.3.250.0090.03612.72
5.3.240.0070.03512.72
5.3.230.0040.03912.71
5.3.220.0060.03612.68
5.3.210.0080.03812.68
5.3.200.0080.03512.68
5.3.190.0040.04012.68
5.3.180.0080.03412.67
5.3.170.0100.03412.67
5.3.160.0080.04212.68
5.3.150.0060.03712.67
5.3.140.0090.03412.66
5.3.130.0030.04212.66
5.3.120.0070.03712.66
5.3.110.0070.04212.66
5.3.100.0070.04312.11
5.3.90.0090.04612.08
5.3.80.0020.03912.07
5.3.70.0040.04212.07
5.3.60.0090.03612.07
5.3.50.0050.03712.00
5.3.40.0040.03712.00
5.3.30.0030.03711.95
5.3.20.0010.04011.72
5.3.10.0080.03611.69
5.3.00.0090.03211.68
5.2.170.0070.0279.18
5.2.160.0010.0329.18
5.2.150.0050.0299.18
5.2.140.0090.0339.18
5.2.130.0080.0269.14
5.2.120.0070.0259.14
5.2.110.0040.0299.14
5.2.100.0060.0279.14
5.2.90.0050.0289.14
5.2.80.0040.0309.14
5.2.70.0050.0299.14
5.2.60.0050.0289.09
5.2.50.0080.0269.06
5.2.40.0050.0289.04
5.2.30.0050.0289.02
5.2.20.0020.0309.00
5.2.10.0060.0268.92
5.2.00.0050.0288.78
5.1.60.0040.0248.06
5.1.50.0070.0248.06
5.1.40.0030.0318.05
5.1.30.0040.0258.39
5.1.20.0030.0308.41
5.1.10.0080.0248.14
5.1.00.0050.0248.14
5.0.50.0020.0216.62
5.0.40.0020.0206.48
5.0.30.0020.0336.29
5.0.20.0020.0206.25
5.0.10.0020.0216.24
5.0.00.0030.0316.23
4.4.90.0020.0164.78
4.4.80.0020.0164.75
4.4.70.0020.0194.75
4.4.60.0030.0154.75
4.4.50.0050.0134.77
4.4.40.0020.0324.71
4.4.30.0040.0144.76
4.4.20.0010.0174.84
4.4.10.0020.0164.85
4.4.00.0020.0264.76
4.3.110.0040.0154.67
4.3.100.0030.0144.66
4.3.90.0010.0164.63
4.3.80.0040.0224.58
4.3.70.0010.0164.63
4.3.60.0020.0154.63
4.3.50.0030.0154.62
4.3.40.0040.0234.54
4.3.30.0020.0163.29
4.3.20.0000.0183.25
4.3.10.0020.0153.22
4.3.00.0030.01316.02

preferences:
34.25 ms | 400 KiB | 5 Q