3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <form method='POST'> <h2>Please input your name:</h2> <input type="text" name="name"> <input type="submit" value="Submit Name"> </form> <?php //Retrieve name from query string and store to a local variable $name = $_POST['name']; echo "<h3> Hello $name </h3>"; ?> </body> </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.0150.00616.63
8.3.50.0130.00822.01
8.3.40.0070.00718.82
8.3.30.0000.01419.03
8.3.20.0040.00420.16
8.3.10.0070.00023.66
8.3.00.0040.00418.86
8.2.180.0070.00716.38
8.2.170.0180.00422.96
8.2.160.0030.01020.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00420.70
8.2.110.0090.00021.00
8.2.100.0000.01017.97
8.2.90.0050.00318.22
8.2.80.0050.00318.22
8.2.70.0060.00317.63
8.2.60.0040.00417.63
8.2.50.0040.00417.73
8.2.40.0000.00820.07
8.2.30.0040.00418.24
8.2.20.0050.00317.80
8.2.10.0050.00217.99
8.2.00.0080.00017.78
8.1.280.0060.01625.92
8.1.270.0080.00024.00
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00723.79
8.1.230.0110.00020.85
8.1.220.0060.00317.76
8.1.210.0000.00918.77
8.1.200.0080.00017.22
8.1.190.0000.00917.23
8.1.180.0030.00518.10
8.1.170.0040.00418.71
8.1.160.0070.00021.92
8.1.150.0030.00518.62
8.1.140.0070.00017.41
8.1.130.0000.00717.73
8.1.120.0070.00017.49
8.1.110.0040.00417.36
8.1.100.0000.00717.50
8.1.90.0040.00417.44
8.1.80.0030.00617.47
8.1.70.0040.00617.38
8.1.60.0080.00517.55
8.1.50.0130.00317.46
8.1.40.0110.00317.43
8.1.30.0050.00717.63
8.1.20.0060.00417.63
8.1.10.0020.00817.56
8.1.00.0050.00517.48
8.0.300.0040.00420.03
8.0.290.0050.00216.75
8.0.280.0090.00018.40
8.0.270.0030.00317.12
8.0.260.0040.00417.25
8.0.250.0030.00317.00
8.0.240.0030.00317.00
8.0.230.0030.00317.08
8.0.220.0040.00416.92
8.0.210.0000.00716.82
8.0.200.0090.00316.88
8.0.190.0070.00616.96
8.0.180.0070.00416.98
8.0.170.0100.00216.92
8.0.160.0080.00316.95
8.0.150.0070.00516.81
8.0.140.0060.00516.82
8.0.130.0070.00715.70
8.0.120.0070.00716.65
8.0.110.0070.00516.79
8.0.100.0080.00416.80
8.0.90.0070.00616.85
8.0.80.0110.00516.79
8.0.70.0100.00516.81
8.0.60.0110.00516.79
8.0.50.0100.00516.83
8.0.30.0140.00517.03
8.0.20.0110.00617.12
8.0.10.0100.00617.01
8.0.00.0090.00816.92
7.4.330.0000.00715.00
7.4.320.0030.00316.36
7.4.300.0070.00416.55
7.4.290.0120.00116.46
7.4.280.0080.00516.46
7.4.270.0080.00416.43
7.4.260.0060.00616.47
7.4.250.0110.00216.34
7.4.240.0090.00416.55
7.4.230.0070.00516.41
7.4.220.0100.00816.45
7.4.210.0090.00716.56
7.4.200.0100.00216.41
7.4.190.0090.00316.44
7.4.180.0160.00016.56
7.4.160.0110.00616.50
7.4.150.0100.00716.80
7.4.140.0100.00717.03
7.4.130.0080.00816.50
7.4.120.0060.00916.40
7.4.110.0120.00416.45
7.4.100.0110.00516.40
7.4.90.0120.00416.39
7.4.80.0090.00517.47
7.4.70.0110.00616.44
7.4.60.0100.00716.42
7.4.50.0110.00816.36
7.4.40.0080.00816.24
7.4.30.0120.00616.33
7.4.20.0110.00616.35
7.4.10.0120.00616.22
7.4.00.0080.00916.08
7.3.330.0130.00215.17
7.3.320.0100.00415.12
7.3.310.0130.00216.24
7.3.300.0130.00216.15
7.3.290.0120.00516.19
7.3.280.0060.01216.18
7.3.270.0120.00616.64
7.3.260.0110.00716.36
7.3.250.0130.00616.29
7.3.240.0080.01216.30
7.3.230.0090.01016.27
7.3.220.0160.00416.14
7.3.210.0150.00716.28
7.3.200.0110.00617.30
7.3.190.0120.00716.37
7.3.180.0130.00616.40
7.3.170.0130.00516.34
7.3.160.0100.00916.33
7.3.150.0100.00816.29
7.3.140.0130.00616.25
7.3.130.0110.00716.39
7.3.120.0110.00815.94
7.3.110.0120.00716.02
7.3.100.0120.00615.77
7.3.90.0100.00715.88
7.3.80.0100.00915.86
7.3.70.0110.00615.85
7.3.60.0090.00815.85
7.3.50.0090.00715.85
7.3.40.0100.00715.84
7.3.30.0110.00615.87
7.3.20.0090.00816.63
7.3.10.0100.00816.72
7.3.00.0120.00516.60
7.2.340.0130.00516.14
7.2.330.0120.00816.47
7.2.320.0110.00816.37
7.2.310.0110.00716.44
7.2.300.0100.00816.32
7.2.290.0100.00816.33
7.2.280.0100.00716.45
7.2.270.0100.01116.34
7.2.260.0090.01016.36
7.2.250.0090.01016.22
7.2.240.0100.00816.07
7.2.230.0110.00615.98
7.2.220.0110.00615.95
7.2.210.0110.00615.94
7.2.200.0110.00716.04
7.2.190.0070.01016.04
7.2.180.0100.00616.04
7.2.170.0080.00915.94
7.2.160.0110.00616.10
7.2.150.0080.01016.73
7.2.140.0090.00916.79
7.2.130.0070.01116.86
7.2.120.0110.00716.76
7.2.110.0080.01016.78
7.2.100.0090.00716.84
7.2.90.0090.00816.71
7.2.80.0110.00816.83
7.2.70.0120.00616.84
7.2.60.0110.00716.75
7.2.50.0130.00716.79
7.2.40.0130.00816.85
7.2.30.0140.00516.77
7.2.20.0090.01016.74
7.2.10.0100.00916.75
7.2.00.0110.00616.81
7.1.330.0120.00715.83
7.1.320.0140.00715.57
7.1.310.0120.00715.60
7.1.300.0110.00815.56
7.1.290.0110.00715.62
7.1.280.0100.00715.61
7.1.270.0100.00815.57
7.1.260.0120.00715.51
7.1.250.0110.00915.53
7.1.240.0170.00515.50
7.1.230.0180.00515.54
7.1.220.0120.00715.44
7.1.210.0140.00615.46
7.1.200.0120.00815.48
7.1.190.0130.00815.55
7.1.180.0120.00715.48
7.1.170.0120.00815.42
7.1.160.0130.00715.45
7.1.150.0130.00815.46
7.1.140.0130.00815.48
7.1.130.0120.00815.59
7.1.120.0110.01015.58
7.1.110.0140.00715.51
7.1.100.0130.00515.58
7.1.90.0120.00815.60
7.1.80.0120.00815.61
7.1.70.0130.00915.73
7.1.60.0150.00615.96
7.1.50.0100.01015.69
7.1.40.0130.00815.62
7.1.30.0100.00915.59
7.1.20.0120.00715.53
7.1.10.0130.00715.59
7.1.00.0150.01316.31
7.0.330.0150.00415.28
7.0.320.0100.00915.32
7.0.310.0140.00715.28
7.0.300.0120.00915.18
7.0.290.0130.00815.29
7.0.280.0140.00615.26
7.0.270.0140.00515.28
7.0.260.0160.00615.32
7.0.250.0120.00815.37
7.0.240.0140.00615.46
7.0.230.0140.00615.39
7.0.220.0120.00815.40
7.0.210.0120.00815.33
7.0.200.0150.00615.47
7.0.190.0130.00615.31
7.0.180.0190.00815.32
7.0.170.0110.00715.34
7.0.160.0130.00815.29
7.0.150.0150.00615.36
7.0.140.0120.01416.07
7.0.130.0120.00815.38
7.0.120.0140.00515.35
7.0.110.0110.00915.33
7.0.100.0130.00715.29
7.0.90.0110.00915.33
7.0.80.0090.01015.27
7.0.70.0170.00515.18
7.0.60.0110.01715.74
7.0.50.0130.01615.56
7.0.40.0110.01615.57
7.0.30.0130.01315.54
7.0.20.0140.01115.46
7.0.10.0150.01015.54
7.0.00.0140.01415.52
5.6.400.0120.01015.62
5.6.390.0120.00915.57
5.6.380.0120.00815.57
5.6.370.0130.00815.64
5.6.360.0110.01015.63
5.6.350.0120.01015.68
5.6.340.0160.00515.55
5.6.330.0130.00915.58
5.6.320.0150.00715.64
5.6.310.0130.01015.63
5.6.300.0140.00815.60
5.6.290.0120.01015.58
5.6.280.0120.01616.19
5.6.270.0140.00815.64
5.6.260.0120.00915.62
5.6.250.0140.00815.63
5.6.240.0110.00915.57
5.6.230.0140.00815.58
5.6.220.0110.01115.61
5.6.210.0150.01516.16
5.6.200.0110.01715.88
5.6.190.0140.01615.93
5.6.180.0140.01515.93
5.6.170.0130.01515.90
5.6.160.0130.01715.88
5.6.150.0140.01515.83
5.6.140.0130.01615.84
5.6.130.0130.01215.88
5.6.120.0120.01615.84
5.6.110.0150.01315.88
5.6.100.0120.01415.81
5.6.90.0140.01815.87
5.6.80.0130.01715.73
5.6.70.0140.01615.82
5.6.60.0130.01315.70
5.6.50.0150.01415.74
5.6.40.0120.01315.66
5.6.30.0120.01715.63
5.6.20.0130.01315.71
5.6.10.0120.01315.72
5.6.00.0100.01615.71
5.5.380.0110.01115.59
5.5.370.0120.00915.53
5.5.360.0140.00915.35
5.5.350.0150.01516.03
5.5.340.0120.01815.73
5.5.330.0130.01515.79
5.5.320.0130.01415.73
5.5.310.0120.01215.80
5.5.300.0140.01515.81
5.5.290.0130.01315.75
5.5.280.0140.01615.73
5.5.270.0120.01315.67
5.5.260.0120.01615.60
5.5.250.0130.01815.62
5.5.240.0110.01515.60
5.5.230.0130.01615.61
5.5.220.0110.01415.66
5.5.210.0120.01715.62
5.5.200.0120.01315.61
5.5.190.0090.01615.59
5.5.180.0120.01315.53
5.5.170.0110.01015.34
5.5.160.0120.01315.61
5.5.150.0150.00815.63
5.5.140.0130.01115.55
5.5.130.0110.01715.51
5.5.120.0140.01415.56
5.5.110.0120.01415.63
5.5.100.0130.01015.55
5.5.90.0140.01615.67
5.5.80.0140.01215.70
5.5.70.0130.01215.55
5.5.60.0130.01215.65
5.5.50.0120.01715.61
5.5.40.0120.01315.70
5.5.30.0150.01215.60
5.5.20.0130.01515.65
5.5.10.0130.01515.64
5.5.00.0120.01715.57
5.4.450.0120.01013.04
5.4.440.0110.01113.17
5.4.430.0090.01513.12
5.4.420.0110.01413.12
5.4.410.0120.00913.03
5.4.400.0090.01313.06
5.4.390.0110.01213.01
5.4.380.0100.01413.07
5.4.370.0080.01212.96
5.4.360.0110.01213.00
5.4.350.0090.01412.96
5.4.340.0110.01012.98
5.4.330.0100.00612.28
5.4.320.0100.01113.03
5.4.310.0100.00912.98
5.4.300.0090.01113.07
5.4.290.0100.01113.09
5.4.280.0090.01513.05
5.4.270.0100.01213.02
5.4.260.0120.00813.04
5.4.250.0120.00913.00
5.4.240.0140.00712.98
5.4.230.0110.00913.03
5.4.220.0100.00912.98
5.4.210.0110.01512.97
5.4.200.0110.01413.03
5.4.190.0130.01313.01
5.4.180.0110.01312.95
5.4.170.0110.01213.01
5.4.160.0120.01213.00
5.4.150.0110.01013.00
5.4.140.0100.01112.78
5.4.130.0110.01112.72
5.4.120.0110.01312.75
5.4.110.0110.01412.74
5.4.100.0110.01212.77
5.4.90.0100.01212.72
5.4.80.0090.01412.71
5.4.70.0090.01412.73
5.4.60.0090.01512.71
5.4.50.0100.01212.70
5.4.40.0100.01012.73
5.4.30.0100.01012.82
5.4.20.0110.01112.75
5.4.10.0120.01112.73
5.4.00.0110.01312.63
5.3.290.0100.01112.84
5.3.280.0110.01112.85
5.3.270.0100.01212.86
5.3.260.0100.01112.87
5.3.250.0100.01312.82
5.3.240.0130.01312.68
5.3.230.0100.01412.80
5.3.220.0100.01512.75
5.3.210.0120.01512.82
5.3.200.0090.01312.77
5.3.190.0100.01212.92
5.3.180.0090.01412.93
5.3.170.0120.01412.92
5.3.160.0110.01412.90
5.3.150.0110.01512.87
5.3.140.0110.01112.89
5.3.130.0110.01412.91
5.3.120.0080.01612.81
5.3.110.0120.01412.81
5.3.100.0100.01512.77
5.3.90.0110.01412.77
5.3.80.0100.01612.75
5.3.70.0100.01212.66
5.3.60.0090.01012.75
5.3.50.0110.01512.71
5.3.40.0090.01512.69
5.3.30.0090.01512.66
5.3.20.0100.01212.54
5.3.10.0090.01512.50
5.3.00.0100.01412.40

preferences:
56.24 ms | 401 KiB | 5 Q