3v4l.org

run code in 300+ PHP versions simultaneously
<form action="demo_form.asp" method="post">  password: <input type="text" name="fname"><br>  <input type="submit" value="Submit"></form> <?php $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.0030.14214.58
7.3.120.0070.13415.99
7.3.110.0020.13615.99
7.3.100.0050.13615.98
7.3.90.0020.13415.89
7.3.80.0050.13516.00
7.3.70.0050.13215.93
7.3.60.0020.13215.91
7.3.50.0030.12715.88
7.3.40.0030.13215.93
7.3.30.0030.13015.82
7.3.20.0050.12816.68
7.3.10.0040.13316.75
7.3.00.0030.13216.64
7.2.250.0030.14414.89
7.2.240.0020.13816.00
7.2.230.0070.13716.03
7.2.220.0070.13416.15
7.2.210.0070.12716.13
7.2.200.0070.12816.00
7.2.190.0070.13016.02
7.2.180.0100.12815.94
7.2.170.0070.12615.96
7.2.160.0030.12617.15
7.2.150.0100.12417.15
7.2.140.0070.12617.15
7.2.130.0060.12917.02
7.2.120.0080.12816.98
7.2.110.0030.13316.90
7.2.100.0060.12916.87
7.2.90.0070.12716.93
7.2.80.0090.12617.00
7.2.70.0010.13216.97
7.2.60.0030.13316.83
7.2.50.0100.12616.81
7.2.40.0040.12916.87
7.2.30.0050.12716.88
7.2.20.0060.13516.84
7.2.10.0030.12917.01
7.2.00.0050.13017.45
7.1.330.0050.13216.35
7.1.320.0050.13016.38
7.1.310.0030.13516.39
7.1.300.0070.12616.41
7.1.290.0030.12716.43
7.1.280.0080.12416.45
7.1.270.0070.12816.28
7.1.260.0070.13116.42
7.1.250.0030.12816.20
7.1.100.0070.12918.19
7.1.70.0070.12417.21
7.1.60.0170.19119.40
7.1.50.0070.13416.87
7.1.00.0130.23022.31
7.0.200.0170.12014.87
7.0.140.0000.23021.92
7.0.60.0100.23019.89
7.0.50.0000.16717.97
7.0.40.0070.17720.12
7.0.30.0470.18720.30
7.0.20.0130.17320.09
7.0.10.0000.19720.06
7.0.00.0200.21020.11
5.6.280.0030.23320.90
5.6.210.0100.19720.49
5.6.200.0030.23318.15
5.6.190.0070.18020.69
5.6.180.0270.17320.63
5.6.170.0400.20320.55
5.6.160.0100.22320.52
5.6.150.0070.15318.17
5.6.140.0070.17018.16
5.6.130.0130.21318.16
5.6.120.0030.16721.12
5.6.110.0100.19320.99
5.6.100.0030.17320.98
5.6.90.0130.19321.10
5.6.80.0130.20020.53
5.6.70.0230.19720.51
5.5.350.0000.14720.43
5.5.340.0070.18018.01
5.5.330.0030.17720.28
5.5.320.0470.18720.51
5.5.310.0470.20020.27
5.5.300.0130.21017.91
5.5.290.0030.22717.86
5.5.280.0030.16720.87
5.5.270.0030.16720.84
5.5.260.0130.21720.72
5.5.250.0100.22020.58
5.5.240.0070.21720.28
5.4.450.0370.04319.45
5.4.440.0870.04319.25
5.4.430.0630.06319.13
5.4.420.0630.05719.34
5.4.410.0800.06019.42
5.4.400.0800.04719.31
5.4.390.0730.05718.80
5.4.380.0430.06018.56
5.4.370.0430.04718.52
5.4.360.0500.06318.70
5.4.350.0370.05318.47
5.4.340.0430.07318.63
5.4.320.0050.03812.46
5.4.310.0110.04212.45
5.4.300.0070.05012.45
5.4.290.0070.05612.45
5.4.280.0100.05012.35
5.4.270.0120.04612.35
5.4.260.0030.04012.35
5.4.250.0030.04112.35
5.4.240.0040.03812.35
5.4.230.0070.03712.34
5.4.220.0050.03612.34
5.4.210.0050.03512.34
5.4.200.0040.03912.34
5.4.190.0030.03912.34
5.4.180.0080.03412.34
5.4.170.0030.03812.35
5.4.160.0050.03712.35
5.4.150.0040.03812.34
5.4.140.0100.05012.03
5.4.130.0070.03412.01
5.4.120.0040.04811.97
5.4.110.0030.04111.97
5.4.100.0080.03511.96
5.4.90.0020.03911.96
5.4.80.0020.04011.97
5.4.70.0040.03611.96
5.4.60.0070.03311.96
5.4.50.0050.03411.96
5.4.40.0090.03011.95
5.4.30.0060.03411.95
5.4.20.0090.03111.95
5.4.10.0080.03211.95
5.4.00.0080.04111.44
5.3.290.0050.04512.80
5.3.280.0110.04712.71
5.3.270.0080.04312.72
5.3.260.0050.03912.72
5.3.250.0050.03712.71
5.3.240.0070.03612.72
5.3.230.0040.03912.71
5.3.220.0040.03812.68
5.3.210.0010.04412.68
5.3.200.0090.03212.68
5.3.190.0070.03512.68
5.3.180.0050.03712.67
5.3.170.0150.04112.67
5.3.160.0050.03612.67
5.3.150.0040.03812.68
5.3.140.0040.04112.66
5.3.130.0050.03912.66
5.3.120.0060.04512.66
5.3.110.0050.04412.66
5.3.100.0050.04012.12
5.3.90.0050.04512.09
5.3.80.0070.03912.07
5.3.70.0070.03512.07
5.3.60.0050.03612.07
5.3.50.0050.03712.00
5.3.40.0090.03212.00
5.3.30.0040.03611.95
5.3.20.0030.03911.73
5.3.10.0060.03311.69
5.3.00.0040.03911.68
5.2.170.0060.0289.18
5.2.160.0060.0279.18
5.2.150.0050.0309.18
5.2.140.0030.0329.18
5.2.130.0060.0309.14
5.2.120.0050.0279.14
5.2.110.0040.0309.15
5.2.100.0080.0249.14
5.2.90.0050.0289.14
5.2.80.0040.0339.14
5.2.70.0030.0319.14
5.2.60.0070.0279.09
5.2.50.0050.0289.06
5.2.40.0040.0289.04
5.2.30.0070.0289.01
5.2.20.0030.0329.00
5.2.10.0050.0298.92
5.2.00.0070.0288.78
5.1.60.0010.0268.07
5.1.50.0050.0258.06
5.1.40.0030.0258.05
5.1.30.0020.0278.39
5.1.20.0060.0248.42
5.1.10.0030.0268.14
5.1.00.0040.0258.14
5.0.50.0020.0216.62
5.0.40.0050.0176.48
5.0.30.0010.0326.29
5.0.20.0030.0196.26
5.0.10.0010.0226.24
5.0.00.0020.0316.23
4.4.90.0020.0164.78
4.4.80.0030.0154.75
4.4.70.0000.0174.76
4.4.60.0010.0164.75
4.4.50.0030.0234.77
4.4.40.0030.0344.71
4.4.30.0040.0204.76
4.4.20.0060.0194.85
4.4.10.0040.0214.85
4.4.00.0030.0314.76
4.3.110.0050.0194.67
4.3.100.0020.0224.67
4.3.90.0020.0204.64
4.3.80.0040.0234.59
4.3.70.0030.0144.63
4.3.60.0040.0134.63
4.3.50.0020.0164.63
4.3.40.0050.0214.54
4.3.30.0020.0153.29
4.3.20.0020.0153.26
4.3.10.0050.0123.22
4.3.00.0070.0178.86

preferences:
39.19 ms | 401 KiB | 5 Q