3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <title> Form </title> </head> <body> <form> Enter your name: <input type="text" name="name"> <input type="submit" name="submit"> </form> <?php $name=$_POST ['name']; echo "Hello $name"; ?>

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.40.0110.00418.69
8.3.30.0100.00319.27
8.3.20.0040.00420.34
8.3.10.0030.00623.70
8.3.00.0040.00417.59
8.2.170.0150.00322.96
8.2.160.0030.01020.39
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0070.01126.16
8.2.120.0040.00420.88
8.2.110.0030.00620.52
8.2.100.0040.00818.03
8.2.90.0030.00519.17
8.2.80.0050.00317.97
8.2.70.0050.00317.75
8.2.60.0040.00417.93
8.2.50.0000.00918.22
8.2.40.0050.00320.41
8.2.30.0000.00819.42
8.2.20.0070.00017.74
8.2.10.0060.00318.10
8.2.00.0040.00417.80
8.1.270.0050.00323.82
8.1.260.0050.00226.35
8.1.250.0000.00728.09
8.1.240.0060.00322.17
8.1.230.0040.00717.77
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0000.01017.22
8.1.180.0040.00418.10
8.1.170.0000.00818.65
8.1.160.0030.00618.82
8.1.150.0070.00020.09
8.1.140.0050.00317.52
8.1.130.0030.00317.93
8.1.120.0040.00417.42
8.1.110.0070.00017.45
8.1.100.0040.00417.52
8.1.90.0050.00217.44
8.1.80.0050.00317.42
8.1.70.0000.00717.40
8.1.60.0040.00417.46
8.1.50.0040.00417.41
8.1.40.0070.00017.45
8.1.30.0040.00417.57
8.1.20.0030.00617.62
8.1.10.0000.00717.51
8.1.00.0070.00017.55
8.0.300.0070.00018.77
8.0.290.0050.00316.75
8.0.280.0030.00318.50
8.0.270.0070.00017.13
8.0.260.0000.00617.25
8.0.250.0030.00317.03
8.0.240.0040.00416.88
8.0.230.0050.00217.01
8.0.220.0040.00416.98
8.0.210.0000.00716.96
8.0.200.0060.00017.00
8.0.190.0030.00316.89
8.0.180.0000.00716.93
8.0.170.0030.00616.90
8.0.160.0040.00416.94
8.0.150.0070.00016.79
8.0.140.0000.00716.92
8.0.130.0050.00313.42
8.0.120.0070.00016.90
8.0.110.0050.00216.96
8.0.100.0040.00416.95
8.0.90.0000.00716.91
8.0.80.0120.00917.00
8.0.70.0020.00516.78
8.0.60.0030.00516.79
8.0.50.0000.00716.96
8.0.30.0090.01217.24
8.0.20.0080.01317.40
8.0.10.0070.00017.02
8.0.00.0120.00916.96
7.4.330.0000.00715.00
7.4.320.0000.00716.39
7.4.300.0030.00316.39
7.4.290.0030.00316.62
7.4.280.0070.00016.57
7.4.270.0000.00716.45
7.4.260.0000.00716.56
7.4.250.0080.00016.41
7.4.240.0050.00216.54
7.4.230.0000.00716.31
7.4.220.0100.00716.50
7.4.210.0050.01016.68
7.4.200.0030.00316.58
7.4.160.0060.00916.32
7.4.150.0090.01217.40
7.4.140.0100.00917.86
7.4.130.0080.01016.44
7.4.120.0090.00816.59
7.4.110.0090.00916.73
7.4.100.0120.00616.52
7.4.90.0060.01116.57
7.4.80.0090.00919.39
7.4.70.0140.00316.52
7.4.60.0110.00416.56
7.4.50.0040.00016.24
7.4.40.0100.00716.60
7.4.30.0090.00616.42
7.4.00.0070.01014.92
7.3.330.0050.00013.18
7.3.320.0000.00513.19
7.3.310.0060.00016.12
7.3.300.0040.00416.25
7.3.290.0100.01016.25
7.3.280.0090.00816.27
7.3.270.0080.00817.40
7.3.260.0070.01116.29
7.3.250.0100.01016.50
7.3.240.0160.00816.37
7.3.230.0100.00616.39
7.3.210.0110.01116.45
7.3.200.0130.00319.39
7.3.190.0100.00716.47
7.3.180.0100.00616.34
7.3.170.0090.00616.44
7.3.160.0130.00316.36
7.3.10.0040.01216.86
7.3.00.0030.00916.74
7.2.330.0110.00716.52
7.2.320.0120.00916.61
7.2.310.0110.00416.53
7.2.300.0130.00316.69
7.2.290.0030.01316.71
7.2.130.0120.00916.72
7.2.120.0060.00916.90
7.2.110.0150.00317.02
7.2.100.0090.00016.82
7.2.90.0000.00916.83
7.2.80.0030.00916.57
7.2.70.0140.00016.89
7.2.60.0040.00816.87
7.2.50.0030.01016.88
7.2.40.0150.00316.76
7.2.30.0060.00916.91
7.2.20.0040.01416.79
7.2.10.0130.00616.90
7.2.00.0070.01017.02
7.1.250.0060.00615.70
7.1.240.0120.00015.65
7.1.230.0110.00415.80
7.1.220.0070.01315.78
7.1.210.0040.01115.73
7.1.200.0050.00315.86
7.1.190.0060.00915.69
7.1.180.0110.00715.63
7.1.170.0060.00615.72
7.1.160.0030.00615.64
7.1.150.0090.00615.37
7.1.140.0060.00315.73
7.1.130.0060.00615.64
7.1.120.0000.01115.71
7.1.110.0000.01615.59
7.1.100.0100.00315.71
7.1.90.0080.00415.69
7.1.80.0070.00715.58
7.1.70.0050.00516.35
7.1.60.0080.01117.42
7.1.50.0070.01116.00
7.1.40.0070.00315.79
7.1.30.0120.00615.59
7.1.20.0060.00315.70
7.1.10.0070.01015.82
7.1.00.0040.04419.05
7.0.330.0070.00715.43
7.0.320.0030.00615.41
7.0.310.0080.00315.33
7.0.300.0040.00415.20
7.0.290.0090.00315.34
7.0.280.0070.00715.48
7.0.270.0130.00015.12
7.0.260.0150.00415.39
7.0.250.0040.01115.25
7.0.240.0090.00915.50
7.0.230.0070.00715.38
7.0.220.0040.00415.20
7.0.210.0040.00415.54
7.0.200.0020.01015.94
7.0.190.0070.00715.32
7.0.180.0070.00715.20
7.0.170.0030.00915.46
7.0.160.0100.00715.28
7.0.150.0030.00715.20
7.0.140.0030.04518.73
7.0.130.0030.00615.34
7.0.120.0060.00615.46
7.0.110.0030.00515.37
7.0.100.0080.00815.20
7.0.90.0040.00415.05
7.0.80.0000.01015.47
7.0.70.0110.00315.27
7.0.60.0040.02917.64
7.0.50.0020.02716.53
7.0.40.0070.02516.77
7.0.30.0130.04516.73
7.0.20.0210.03816.82
7.0.10.0150.02016.94
7.0.00.0050.02516.71
5.6.380.0090.00614.45
5.6.370.0140.00014.29
5.6.360.0060.00913.89
5.6.350.0060.01014.53
5.6.340.0000.00914.34
5.6.330.0000.00914.00
5.6.320.0000.01614.03
5.6.310.0030.01014.19
5.6.300.0000.01514.05
5.6.290.0030.01014.21
5.6.280.0000.04417.65
5.6.270.0070.00714.46
5.6.260.0070.00714.50
5.6.250.0030.01214.32
5.6.240.0070.00714.47
5.6.230.0030.01114.15
5.6.220.0090.00614.37
5.6.210.0060.04317.50
5.6.200.0070.03016.34
5.6.190.0090.04417.42
5.6.180.0020.03417.35
5.6.170.0130.02217.29
5.6.160.0100.03317.33
5.6.150.0070.02016.17
5.6.140.0050.02316.21
5.6.130.0080.01816.23
5.6.120.0050.02917.61
5.6.110.0070.02317.51
5.6.100.0150.03917.60
5.6.90.0150.03717.45
5.6.80.0020.02717.38
5.6.70.0130.02317.33
5.6.60.0130.00014.46
5.6.50.0030.01314.15
5.6.40.0000.01514.23
5.6.30.0120.00414.36
5.6.20.0070.00714.19
5.6.10.0060.00914.13
5.6.00.0030.01014.20
5.5.380.0070.00010.86
5.5.370.0050.00010.96
5.5.360.0090.00011.13
5.5.350.0120.04015.68
5.5.340.0100.02514.54
5.5.330.0030.03615.59
5.5.320.0170.03515.64
5.5.310.0130.03615.54
5.5.300.0050.02714.24
5.5.290.0050.04414.55
5.5.280.0090.02015.94
5.5.270.0090.04315.73
5.5.260.0030.03516.16
5.5.250.0060.04315.75
5.5.240.0090.04015.63
5.5.230.0030.00910.72
5.5.220.0110.00010.80
5.5.210.0050.00510.92
5.5.200.0040.00810.98
5.5.190.0030.00611.13
5.5.180.0000.01011.26
5.5.170.0070.00310.87
5.5.160.0060.00611.14
5.5.150.0040.00710.95
5.5.140.0090.00010.77
5.5.130.0030.00311.01
5.5.120.0040.00810.86
5.5.110.0030.00910.88
5.5.100.0060.00310.91
5.5.90.0030.00311.11
5.5.80.0060.00311.03
5.5.70.0000.00611.05
5.5.60.0000.01011.00
5.5.50.0040.00811.06
5.5.40.0000.01211.04
5.5.30.0060.00011.15
5.5.20.0030.01011.14
5.5.10.0090.00310.94
5.5.00.0040.00410.65
5.4.450.0210.03315.10
5.4.440.0440.03415.27
5.4.430.0460.03115.12
5.4.420.0530.02015.22
5.4.410.0150.02514.84
5.4.400.0230.03014.88
5.4.390.0260.02314.83
5.4.380.0070.03214.73
5.4.370.0060.02114.73
5.4.360.0080.02514.75
5.4.350.0060.02911.49
5.4.340.0020.02411.49
5.4.330.0000.01311.12
5.4.320.0040.02311.81
5.4.310.0070.02411.55
5.4.300.0040.02711.69
5.4.290.0080.02511.52
5.4.280.0040.02211.50
5.4.270.0040.02411.53
5.4.260.0060.01911.57
5.4.250.0050.02211.62
5.4.240.0040.02211.63
5.4.230.0040.02411.67
5.4.220.0050.02411.69
5.4.210.0080.02211.71
5.4.200.0080.02711.63
5.4.190.0040.02511.60
5.4.180.0020.02611.57
5.4.170.0070.02211.55
5.4.160.0050.02111.56
5.4.150.0090.02311.51
5.4.140.0070.02011.45
5.4.130.0090.01611.47
5.4.120.0090.01911.40
5.4.110.0040.02411.46
5.4.100.0030.02311.43
5.4.90.0050.02411.53
5.4.80.0090.02011.47
5.4.70.0070.02511.46
5.4.60.0070.02611.42
5.4.50.0030.02411.41
5.4.40.0050.02111.48
5.4.30.0020.02311.46
5.4.20.0040.02211.51
5.4.10.0040.02111.47
5.4.00.0090.01711.19
5.3.290.0020.02511.68
5.3.280.0040.02411.51
5.3.270.0100.01811.57
5.3.260.0050.02511.58
5.3.250.0040.02711.51
5.3.240.0040.02411.46
5.3.230.0060.02611.53
5.3.220.0050.02811.58
5.3.210.0090.02611.54
5.3.200.0080.02711.50
5.3.190.0080.02411.46
5.3.180.0030.02311.60
5.3.170.0050.02111.60
5.3.160.0040.02111.54
5.3.150.0040.02311.46
5.3.140.0090.01911.48
5.3.130.0060.02411.54
5.3.120.0050.03611.41
5.3.110.0060.01911.55
5.3.100.0040.02211.22
5.3.90.0050.02311.25
5.3.80.0140.02011.18
5.3.70.0110.02211.10
5.3.60.0040.02111.26
5.3.50.0050.02711.17
5.3.40.0050.02711.15
5.3.30.0040.02211.10
5.3.20.0080.02410.99
5.3.10.0090.02310.97
5.3.00.0100.02610.88
5.2.170.0020.0289.32
5.2.160.0020.0279.34
5.2.150.0070.0229.32
5.2.140.0040.0219.34
5.2.130.0050.0229.30
5.2.120.0050.0229.33
5.2.110.0100.0289.33
5.2.100.0080.0199.31
5.2.90.0050.0229.16
5.2.80.0070.0219.28
5.2.70.0090.0239.25
5.2.60.0040.0259.11
5.2.50.0080.0169.15
5.2.40.0040.0189.11
5.2.30.0060.0179.20
5.2.20.0060.0149.15
5.2.10.0070.0158.99
5.2.00.0040.0178.91
5.1.60.0040.0148.21
5.1.50.0050.0158.25
5.1.40.0040.0158.30
5.1.30.0020.0158.52
5.1.20.0040.0178.50
5.1.10.0030.0168.43
5.1.00.0030.0168.27
5.0.50.0040.0127.49
5.0.40.0020.0147.42
5.0.30.0030.0187.32
5.0.20.0060.0097.31
5.0.10.0030.0127.30
5.0.00.0060.0187.30
4.4.90.0020.0126.57
4.4.80.0030.0106.56
4.4.70.0020.0116.56
4.4.60.0010.0126.56
4.4.50.0030.0106.57
4.4.40.0040.0146.54
4.4.30.0040.0096.56
4.4.20.0040.0096.61
4.4.10.0030.0106.61
4.4.00.0010.0166.56
4.3.110.0010.0116.52
4.3.100.0020.0146.51
4.3.90.0030.0106.50
4.3.80.0030.0146.47
4.3.70.0010.0106.50
4.3.60.0010.0116.49
4.3.50.0000.0126.49
4.3.40.0030.0146.45
4.3.30.0010.0105.82
4.3.20.0020.0115.81
4.3.10.0030.0105.79
4.3.00.0050.0148.15

preferences:
39.47 ms | 400 KiB | 5 Q