3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Admin Panel</title> <link href="style.css" type="text/css" rel="stylesheet" /> </head> <body id="admin"> <div id="wrapper"> <?php if(isset($_SESSION['name'])) { echo "<h3>Welcome to the Admin Panel, ". $_SESSION['name']."</h3>"; } else { header('location: index.php'); } ?> <p><a href="logout.php">Logout</a></p> </div> </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.0040.01118.43
8.3.50.0080.01021.94
8.3.40.0060.00918.88
8.3.30.0070.00718.71
8.3.20.0040.00418.74
8.3.10.0000.00820.79
8.3.00.0000.00819.49
8.2.180.0160.00616.38
8.2.170.0140.00022.96
8.2.160.0090.00520.32
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00421.18
8.2.110.0100.00020.65
8.2.100.0040.00817.84
8.2.90.0050.00319.36
8.2.80.0080.00017.97
8.2.70.0030.00617.50
8.2.60.0000.00717.93
8.2.50.0060.00618.07
8.2.40.0030.00617.91
8.2.30.0070.00021.21
8.2.20.0000.00717.73
8.2.10.0030.00517.83
8.2.00.0030.00617.64
8.1.280.0130.00325.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00422.29
8.1.230.0110.00020.97
8.1.220.0040.00418.77
8.1.210.0000.00818.81
8.1.200.0060.00317.22
8.1.190.0000.00717.63
8.1.180.0000.00818.10
8.1.170.0000.00918.66
8.1.160.0050.00218.85
8.1.150.0040.00418.57
8.1.140.0050.00217.46
8.1.130.0050.00317.84
8.1.120.0040.00417.39
8.1.110.0040.00417.37
8.1.100.0050.00217.43
8.1.90.0040.00417.32
8.1.80.0000.00717.40
8.1.70.0030.00317.42
8.1.60.0000.00817.49
8.1.50.0040.00417.34
8.1.40.0090.00017.56
8.1.30.0060.00317.45
8.1.20.0040.00417.64
8.1.10.0040.00417.56
8.1.00.0080.00017.55
8.0.300.0000.00719.98
8.0.290.0080.00017.18
8.0.280.0050.00318.44
8.0.270.0000.00717.14
8.0.260.0000.00616.92
8.0.250.0000.00716.97
8.0.240.0040.00417.00
8.0.230.0030.00317.02
8.0.220.0030.00316.99
8.0.210.0070.00016.80
8.0.200.0050.00316.87
8.0.190.0030.00316.98
8.0.180.0000.00816.89
8.0.170.0000.00716.91
8.0.160.0040.00416.78
8.0.150.0070.00016.93
8.0.140.0050.00316.87
8.0.130.0030.00313.34
8.0.120.0000.00816.81
8.0.110.0080.00016.98
8.0.100.0040.00416.73
8.0.90.0000.00716.79
8.0.80.0130.00316.91
8.0.70.0050.00316.94
8.0.60.0030.00516.78
8.0.50.0040.00416.98
8.0.30.0080.01217.06
8.0.20.0140.00517.40
8.0.10.0070.00017.09
8.0.00.0050.01517.01
7.4.330.0050.00016.75
7.4.320.0040.00416.54
7.4.300.0060.00016.58
7.4.290.0000.00716.39
7.4.280.0030.00316.52
7.4.270.0030.00316.33
7.4.260.0030.00313.25
7.4.250.0020.00516.46
7.4.240.0070.00016.53
7.4.230.0000.00716.57
7.4.220.0060.00916.60
7.4.210.0040.01016.54
7.4.200.0000.00716.63
7.4.190.0030.00316.61
7.4.160.0100.00616.56
7.4.150.0090.00917.40
7.4.140.0130.00817.86
7.4.130.0130.00516.50
7.4.120.0110.00816.45
7.4.110.0150.00616.53
7.4.100.0090.01316.54
7.4.90.0070.01316.52
7.4.80.0090.01519.39
7.4.70.0080.01416.41
7.4.60.0120.00416.43
7.4.50.0030.00616.27
7.4.40.0000.01322.77
7.4.30.0110.01116.59
7.4.00.0030.00915.04
7.3.330.0000.00813.24
7.3.320.0000.00513.19
7.3.310.0040.00416.14
7.3.300.0000.00616.19
7.3.290.0110.00316.27
7.3.280.0100.00716.32
7.3.270.0030.01417.40
7.3.260.0100.01318.24
7.3.250.0060.01116.33
7.3.240.0100.01016.28
7.3.230.0100.00716.40
7.3.210.0120.00616.63
7.3.200.0170.00019.39
7.3.190.0130.00316.52
7.3.180.0100.00716.39
7.3.170.0080.00816.40
7.3.160.0110.00716.26
7.3.120.0070.00717.15
7.3.110.0030.01217.15
7.3.100.0030.01017.15
7.3.90.0040.00717.15
7.3.80.0060.00317.15
7.3.70.0030.00917.15
7.3.60.0030.00917.15
7.3.50.0090.00017.15
7.3.40.0000.01117.15
7.3.30.0040.01417.15
7.3.20.0090.00017.15
7.3.10.0070.00716.89
7.3.00.0050.00716.84
7.2.330.0160.00616.30
7.2.320.0150.00716.68
7.2.310.0130.01016.55
7.2.300.0060.01516.67
7.2.290.0160.00616.47
7.2.240.0040.01117.15
7.2.230.0030.01317.15
7.2.220.0000.01217.15
7.2.210.0120.00017.15
7.2.200.0060.00917.15
7.2.190.0060.00617.15
7.2.180.0060.01217.15
7.2.170.0040.01117.15
7.2.160.0040.01217.15
7.2.150.0120.00417.15
7.2.140.0100.00017.15
7.2.130.0090.00317.05
7.2.120.0060.00816.90
7.2.110.0120.00317.05
7.2.100.0020.01217.01
7.2.90.0070.00816.91
7.2.80.0110.00316.98
7.2.70.0040.00917.05
7.2.60.0090.00716.89
7.2.50.0040.01116.85
7.2.40.0090.00516.93
7.2.30.0090.00716.98
7.2.20.0030.01117.02
7.2.10.0090.00316.99
7.2.00.0090.00717.83
7.1.330.0060.00317.15
7.1.320.0060.00317.15
7.1.310.0000.01617.15
7.1.300.0030.01017.15
7.1.290.0110.00417.15
7.1.280.0040.01117.15
7.1.270.0040.01117.15
7.1.260.0110.00417.15
7.1.250.0060.00816.51
7.1.200.0070.00715.37
7.1.70.0040.00417.05
7.1.60.0070.00717.09
7.1.50.0040.00817.00
7.1.40.0090.00617.00
7.1.30.0050.00517.00
7.1.20.0040.00717.00
7.1.10.0070.00417.00
7.1.00.0000.01317.00
7.0.200.0030.00717.00
7.0.190.0030.00517.00
7.0.180.0040.01217.00
7.0.170.0070.01017.00
7.0.160.0030.00517.00
7.0.150.0040.00417.00
7.0.140.0000.00717.00
7.0.130.0000.01417.00
7.0.120.0000.01117.00
7.0.110.0000.01017.00
7.0.100.0000.00817.00
7.0.90.0000.00717.00
7.0.80.0070.01017.00
7.0.70.0060.00317.00
7.0.60.0050.00317.00
7.0.50.0000.00817.00
7.0.40.0040.00417.00
7.0.30.0030.00517.00
7.0.20.0080.00017.00
7.0.10.0040.00417.00
7.0.00.0060.00317.00
5.6.300.0000.04320.93
5.6.290.0070.07820.86
5.6.280.0000.04820.81
5.6.270.0070.05121.07
5.6.260.0030.07421.00
5.6.250.0070.05221.07
5.6.240.0060.03920.98
5.6.230.0170.05720.89
5.6.220.0130.03520.79
5.6.210.0000.04320.96
5.6.200.0000.04721.04
5.6.190.0030.04121.05
5.6.180.0070.03720.83
5.6.170.0000.06920.78
5.6.160.0030.04120.96
5.6.150.0000.04820.96
5.6.140.0030.04420.98
5.6.130.0030.04620.95
5.6.120.0030.04021.03
5.6.110.0070.03720.95
5.6.100.0000.04820.85
5.6.90.0030.04320.81
5.6.80.0000.04220.34
5.6.70.0060.03520.43
5.6.60.0060.03520.20
5.6.50.0070.04020.21
5.6.40.0070.04320.32
5.6.30.0030.04020.39
5.6.20.0030.04020.09
5.6.10.0030.04420.19
5.6.00.0030.04120.08
5.5.380.0030.04517.56
5.5.370.0000.06717.46
5.5.360.0070.03717.47
5.5.350.0130.03817.60
5.5.340.0070.03818.04
5.5.330.0060.03818.05
5.5.320.0030.04017.71
5.5.310.0000.04318.06
5.5.300.0200.04417.83
5.5.290.0000.05717.98
5.5.280.0070.06717.99
5.5.270.0030.04217.98
5.5.260.0030.04217.85
5.5.250.0070.05217.65
5.5.240.0030.03717.41
5.5.230.0030.03717.49
5.5.220.0070.03717.46
5.5.210.0030.03717.32
5.5.200.0040.03917.39
5.5.190.0060.04217.29
5.5.180.0030.04417.35
5.5.160.0000.03917.31
5.5.150.0030.03717.32
5.5.140.0100.03417.32
5.5.130.0070.03317.36
5.5.120.0030.04717.37
5.5.110.0070.03617.19
5.5.100.0070.03317.22
5.5.90.0000.04017.25
5.5.80.0060.03217.31
5.5.70.0040.03617.27
5.5.60.0100.06117.31
5.5.50.0030.03517.08
5.5.40.0000.03917.00
5.5.30.0030.04017.11
5.5.20.0000.03917.21
5.5.10.0070.03917.22
5.5.00.0030.03617.34
5.4.450.0030.04119.44
5.4.440.0030.04319.43
5.4.430.0030.04219.30
5.4.420.0170.04019.43
5.4.410.0030.04919.37
5.4.400.0060.03519.21
5.4.390.0030.03918.92
5.4.380.0100.05019.17
5.4.370.0060.03419.00
5.4.360.0060.03518.88
5.4.350.0070.03619.01
5.4.340.0070.04419.01
5.4.320.0030.04119.17
5.4.310.0060.03419.05
5.4.300.0040.03618.82
5.4.290.0030.03719.23
5.4.280.0030.03619.01
5.4.270.0100.05919.23
5.4.260.0030.03619.10
5.4.250.0000.04119.09
5.4.240.0070.03318.88
5.4.230.0030.04119.20
5.4.220.0030.03919.11
5.4.210.0000.04119.00
5.4.200.0000.04019.09
5.4.190.0030.03518.97
5.4.180.0000.06419.04
5.4.170.0070.03319.05
5.4.160.0000.04818.86
5.4.150.0000.04119.05
5.4.140.0030.03517.00
5.4.130.0200.03717.00
5.4.120.0070.04017.00
5.4.110.0060.04217.00
5.4.100.0030.06917.00
5.4.90.0000.04317.00
5.4.80.0060.03517.00
5.4.70.0070.03317.00
5.4.60.0070.03417.00
5.4.50.0000.03717.00
5.4.40.0060.03117.00
5.4.30.0000.03917.00
5.4.20.0160.05517.00
5.4.10.0060.03217.00
5.4.00.0030.03217.00
5.3.290.0060.03617.00
5.3.280.0000.03717.00
5.3.270.0000.04317.00
5.3.260.0030.03817.00
5.3.250.0070.05217.00
5.3.240.0030.05617.00
5.3.230.0040.04217.00
5.3.220.0030.04917.00
5.3.210.0100.03217.00
5.3.200.0070.03317.00
5.3.190.0270.03017.00
5.3.180.0030.04017.00
5.3.170.0040.03517.00
5.3.160.0000.03917.00
5.3.150.0070.04417.00
5.3.140.0030.05117.00
5.3.130.0070.04817.00
5.3.120.0030.05317.00
5.3.110.0000.04017.00
5.3.100.0070.05217.00
5.3.90.0030.03317.00
5.3.80.0070.03317.00
5.3.70.0030.04017.00
5.3.60.0140.04417.00
5.3.50.0000.03717.00
5.3.40.0340.02017.00
5.3.30.0000.04117.00
5.3.20.0030.05217.00
5.3.10.0030.04417.00
5.3.00.0030.04617.00
5.2.170.0030.03017.00
5.2.160.0030.04017.00
5.2.150.0000.03417.00
5.2.140.0060.02517.00
5.2.130.0070.02417.00
5.2.120.0000.04617.00
5.2.110.0000.03117.00
5.2.100.0030.06317.00
5.2.90.0030.02817.00
5.2.80.0030.03217.00
5.2.70.0000.03117.00
5.2.60.0000.03517.00
5.2.50.0030.03117.00
5.2.40.0000.03617.00
5.2.30.0030.02917.00
5.2.20.0030.02817.00
5.2.10.0030.02817.00
5.2.00.0030.02817.00
5.1.60.0060.03917.00
5.1.50.0030.02817.00
5.1.40.0030.02517.00
5.1.30.0030.03217.00
5.1.20.0000.03817.00
5.1.10.0000.02917.00
5.1.00.0000.02617.00
5.0.50.0000.02217.00
5.0.40.0030.01817.00
5.0.30.0000.03517.00
5.0.20.0060.01517.00
5.0.10.0030.02217.00
5.0.00.0040.03217.00
4.4.90.0030.01517.00
4.4.80.0030.01717.00
4.4.70.0040.02117.00
4.4.60.0000.01617.00
4.4.50.0030.02317.00
4.4.40.0040.02217.00
4.4.30.0000.01617.00
4.4.20.0040.01417.00
4.4.10.0030.01417.00
4.4.00.0000.02617.00
4.3.110.0000.01917.00
4.3.100.0030.01317.00
4.3.90.0000.01617.00
4.3.80.0030.02417.00
4.3.70.0030.01617.00
4.3.60.0060.01017.00
4.3.50.0000.01617.00
4.3.40.0000.02417.00
4.3.30.0000.01617.00
4.3.20.0030.01317.00
4.3.10.0030.01317.00
4.3.00.0000.01817.00

preferences:
45.8 ms | 401 KiB | 5 Q