3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<html>'; $html .= '<form action="login.php" method="post"><input type="hidden" name="ac" value="log"> \n'; $html .= 'Username: <input type="text" name="username" />'; $html .= 'Password: <input type="password" name="password" />'; $html .= '<input type="submit" value="Login" />'; $html .= '</form>'; $html .= '</html>'; echo $html; ?>

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)
8.3.60.0100.00718.03
8.3.50.0090.01021.20
8.3.40.0210.00018.85
8.3.30.0040.01219.08
8.3.20.0020.00520.16
8.3.10.0050.00323.66
8.3.00.0050.00319.25
8.2.180.0090.00616.60
8.2.170.0040.01122.96
8.2.160.0070.00720.53
8.2.150.0000.00924.18
8.2.140.0050.00324.66
8.2.130.0070.01126.16
8.2.120.0050.00222.13
8.2.110.0060.00322.00
8.2.100.0070.00717.91
8.2.90.0070.00019.17
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0000.00717.93
8.2.50.0040.00418.07
8.2.40.0040.00419.98
8.2.30.0040.00417.99
8.2.20.0070.00017.67
8.2.10.0000.00818.01
8.2.00.0030.00517.59
8.1.280.0090.01125.92
8.1.270.0150.00622.01
8.1.260.0080.00326.35
8.1.250.0040.00428.09
8.1.240.0050.00523.92
8.1.230.0050.00519.07
8.1.220.0070.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00417.25
8.1.180.0070.00018.10
8.1.170.0000.00918.59
8.1.160.0000.00721.86
8.1.150.0000.00718.81
8.1.140.0040.00417.39
8.1.130.0030.00317.82
8.1.120.0050.00217.40
8.1.110.0000.00817.42
8.1.100.0000.00717.35
8.1.90.0000.00717.46
8.1.80.0000.00717.39
8.1.70.0000.00817.35
8.1.60.0030.00617.49
8.1.50.0000.00817.35
8.1.40.0030.00617.34
8.1.30.0000.00817.47
8.1.20.0040.00417.43
8.1.10.0060.00317.47
8.1.00.0040.00417.45
8.0.300.0070.00018.77
8.0.290.0030.00316.63
8.0.280.0070.00018.41
8.0.270.0000.00717.25
8.0.260.0000.00617.24
8.0.250.0030.00317.02
8.0.240.0050.00316.91
8.0.230.0000.00716.86
8.0.220.0000.00716.81
8.0.210.0000.00716.80
8.0.200.0040.00416.77
8.0.190.0040.00416.90
8.0.180.0000.00816.85
8.0.170.0050.00316.86
8.0.160.0070.00016.84
8.0.150.0040.00416.81
8.0.140.0000.01016.77
8.0.130.0040.00413.25
8.0.120.0000.00716.83
8.0.110.0040.00416.72
8.0.100.0000.00716.88
8.0.90.0030.00316.78
8.0.80.0120.00316.88
8.0.70.0040.00416.61
8.0.60.0000.00716.81
8.0.50.0070.00016.84
8.0.30.0070.01316.84
8.0.20.0050.01217.40
8.0.10.0000.00716.88
8.0.00.0070.01216.71
7.4.330.0000.00415.00
7.4.320.0000.00716.35
7.4.300.0060.00016.52
7.4.290.0030.00316.36
7.4.280.0040.00416.45
7.4.270.0050.00216.52
7.4.260.0070.00416.49
7.4.250.0070.00016.39
7.4.240.0050.00216.51
7.4.230.0030.00316.60
7.4.220.0100.00716.55
7.4.210.0120.00316.50
7.4.200.0000.00716.54
7.4.160.0120.00416.26
7.4.150.0130.00317.40
7.4.140.0150.00317.86
7.4.130.0130.00616.45
7.4.120.0070.01216.47
7.4.110.0090.00916.35
7.4.100.0090.00916.44
7.4.90.0070.01016.25
7.4.80.0090.00919.39
7.4.70.0060.01016.40
7.4.60.0000.02116.36
7.4.50.0030.00516.20
7.4.40.0030.01316.32
7.4.30.0080.00816.51
7.4.00.0060.00614.66
7.3.330.0000.00513.04
7.3.320.0000.00512.96
7.3.310.0030.00316.14
7.3.300.0040.00416.16
7.3.290.0120.00316.23
7.3.280.0080.00816.18
7.3.270.0070.01017.40
7.3.260.0060.01016.51
7.3.250.0080.00816.41
7.3.240.0120.00916.27
7.3.230.0140.00316.39
7.3.210.0130.01016.43
7.3.200.0060.01519.39
7.3.190.0110.00616.37
7.3.180.0040.01216.41
7.3.170.0140.00416.39
7.3.160.0140.00316.58
7.2.330.0090.00916.34
7.2.320.0160.00016.53
7.2.310.0130.01016.49
7.2.300.0060.01216.68
7.2.290.0090.00916.55
7.2.00.0030.00919.29
7.1.100.0030.01218.13
7.1.70.0000.00817.04
7.1.60.0170.00719.32
7.1.50.0070.01516.76
7.1.00.0030.07722.54
7.0.200.0060.00316.55
7.0.140.0100.06322.18
7.0.60.0130.08019.94
7.0.50.0000.07017.71
7.0.40.0030.06020.09
7.0.30.0300.03320.13
7.0.20.0230.08720.01
7.0.10.0070.05720.00
7.0.00.0030.08720.20
5.6.280.0030.07021.07
5.6.210.0100.08020.54
5.6.200.0130.05318.13
5.6.190.0030.04320.43
5.6.180.0200.03720.27
5.6.170.0300.07720.71
5.6.160.0100.08020.41
5.6.150.0130.07318.11
5.6.140.0070.06318.14
5.6.130.0130.07718.18
5.6.120.0100.07320.93
5.6.110.0100.07021.08
5.6.100.0130.06321.12
5.6.90.0030.05321.12
5.6.80.0070.08020.35
5.5.350.0300.07020.45
5.5.340.0030.04317.98
5.5.330.0100.08020.07
5.5.320.0330.05020.30
5.5.310.0270.04720.16
5.5.300.0030.03718.02
5.5.290.0070.07017.99
5.5.280.0070.04020.97
5.5.270.0130.07020.77
5.5.260.0170.07320.68
5.5.250.0070.08020.57
5.5.240.0230.05020.25
5.4.450.0530.07319.54
5.4.440.0730.06319.10
5.4.430.0870.05019.63
5.4.420.0630.00019.47
5.4.410.0630.00019.41
5.4.400.0630.00019.19
5.4.390.0630.00019.16
5.4.380.0670.00019.05
5.4.370.0630.00018.91
5.4.360.0770.00019.25
5.4.350.0670.00018.98
5.4.340.0060.04111.96
5.4.320.0070.03712.45
5.4.310.0050.04112.45
5.4.300.0060.03812.45
5.4.290.0100.05012.45
5.4.280.0060.04012.34
5.4.270.0080.04112.34
5.4.260.0080.03912.35
5.4.250.0070.03712.34
5.4.240.0040.04012.34
5.4.230.0070.03712.34
5.4.220.0100.03212.34
5.4.210.0090.04012.34
5.4.200.0090.03912.34
5.4.190.0060.03612.33
5.4.180.0070.03412.33
5.4.170.0070.03512.34
5.4.160.0050.03712.34
5.4.150.0100.03212.34
5.4.140.0060.03812.02
5.4.130.0070.03512.01
5.4.120.0110.03211.96
5.4.110.0070.03511.96
5.4.100.0050.03611.96
5.4.90.0070.04711.96
5.4.80.0050.04411.96
5.4.70.0060.03511.96
5.4.60.0050.03611.96
5.4.50.0090.03311.96
5.4.40.0100.03411.95
5.4.30.0070.03711.95
5.4.20.0080.04111.94
5.4.10.0100.03511.95
5.4.00.0050.03811.44
5.3.290.0080.03812.80
5.3.280.0080.03512.71
5.3.270.0090.04512.72
5.3.260.0060.04112.72
5.3.250.0040.04312.72
5.3.240.0060.04312.72
5.3.230.0070.03912.71
5.3.220.0050.04412.68
5.3.210.0110.04012.68
5.3.200.0040.04012.68
5.3.190.0060.03812.68
5.3.180.0090.03812.67
5.3.170.0070.03612.67
5.3.160.0060.04112.67
5.3.150.0100.03412.67
5.3.140.0060.03612.66
5.3.130.0060.04212.66
5.3.120.0050.04412.66
5.3.110.0080.04412.66
5.3.100.0090.05112.12
5.3.90.0060.03712.09
5.3.80.0070.03512.07
5.3.70.0060.04112.07
5.3.60.0100.03512.06
5.3.50.0090.03712.00
5.3.40.0070.04412.00
5.3.30.0060.04311.94
5.3.20.0080.03911.72
5.3.10.0080.04011.69
5.3.00.0140.04011.67
5.2.170.0070.0309.17
5.2.160.0060.0289.18
5.2.150.0030.0339.18
5.2.140.0030.0379.18
5.2.130.0060.0289.14
5.2.120.0060.0279.14
5.2.110.0070.0329.14
5.2.100.0030.0349.14
5.2.90.0060.0339.14
5.2.80.0050.0319.13
5.2.70.0070.0289.13
5.2.60.0060.0299.09
5.2.50.0030.0409.05
5.2.40.0060.0309.03
5.2.30.0070.0319.01
5.2.20.0090.0299.00
5.2.10.0060.0358.92
5.2.00.0030.0338.77
5.1.60.0080.0248.06
5.1.50.0060.0258.06
5.1.40.0050.0258.04
5.1.30.0060.0268.39
5.1.20.0050.0308.41
5.1.10.0020.0288.13
5.1.00.0080.0248.14
5.0.50.0040.0246.61
5.0.40.0010.0216.47
5.0.30.0030.0316.28
5.0.20.0030.0206.26
5.0.10.0050.0216.24
5.0.00.0040.0316.23
4.4.90.0040.0154.78
4.4.80.0030.0154.75
4.4.70.0020.0174.75
4.4.60.0020.0174.75
4.4.50.0050.0144.77
4.4.40.0030.0254.71
4.4.30.0050.0134.76
4.4.20.0010.0174.84
4.4.10.0030.0164.85
4.4.00.0030.0254.76
4.3.110.0010.0174.67
4.3.100.0020.0154.67
4.3.90.0020.0154.63
4.3.80.0040.0254.58
4.3.70.0050.0144.63
4.3.60.0020.0154.62
4.3.50.0020.0164.63
4.3.40.0040.0224.54
4.3.30.0010.0173.28
4.3.20.0040.0163.25
4.3.10.0020.0183.22
4.3.00.0030.0237.21

preferences:
41.67 ms | 401 KiB | 5 Q