3v4l.org

run code in 300+ PHP versions simultaneously
<?xml version="1.0" encoding="iso-8859-1"?> <!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="fr-FR" lang="fr-FR"> <head> <title>Hello World!</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> </head> <body> <?php if(empty($_GET['user'])) { echo htmlentities('Bonjour, invité', ENT_QUOTES, 'iso-8859-1'); } else { echo htmlentities('Bonjour, '.$_GET['user'], ENT_QUOTES, 'iso-8859-1'); } ?> </body>

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.0070.01318.30
8.3.50.0110.01021.21
8.3.40.0000.01418.75
8.3.30.0100.00320.34
8.3.20.0030.00520.48
8.3.10.0050.00321.10
8.3.00.0040.00422.40
8.2.180.0070.01416.75
8.2.170.0120.00622.96
8.2.160.0000.01320.35
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00420.94
8.2.110.0030.00619.02
8.2.100.0120.00017.72
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0030.00517.63
8.2.60.0040.00418.04
8.2.50.0040.00418.07
8.2.40.0040.00418.09
8.2.30.0000.00819.45
8.2.20.0050.00317.66
8.2.10.0000.00817.68
8.2.00.0040.00417.69
8.1.280.0210.00025.92
8.1.270.0050.00323.99
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0090.00023.91
8.1.230.0030.00720.72
8.1.220.0000.00818.77
8.1.210.0050.00519.02
8.1.200.0030.00617.35
8.1.190.0050.00317.52
8.1.180.0040.00418.10
8.1.170.0040.00418.44
8.1.160.0000.00918.84
8.1.150.0060.00318.57
8.1.140.0030.00617.32
8.1.130.0030.00317.68
8.1.120.0040.00417.47
8.1.110.0000.00717.40
8.1.100.0000.00817.42
8.1.90.0000.00717.37
8.1.80.0000.00817.45
8.1.70.0000.00717.38
8.1.60.0020.00517.41
8.1.50.0000.00717.35
8.1.40.0030.00517.45
8.1.30.0050.00217.61
8.1.20.0000.00817.63
8.1.10.0000.00717.53
8.1.00.0030.00917.35
8.0.300.0000.00819.93
8.0.290.0000.00717.16
8.0.280.0000.00718.30
8.0.270.0030.00317.19
8.0.260.0030.00316.64
8.0.250.0000.00716.89
8.0.240.0050.00316.79
8.0.230.0000.00716.86
8.0.220.0000.00716.71
8.0.210.0000.00716.86
8.0.200.0040.00416.91
8.0.190.0000.00716.84
8.0.180.0000.00816.72
8.0.170.0040.00416.68
8.0.160.0000.00716.82
8.0.150.0030.00316.68
8.0.140.0000.00716.79
8.0.130.0030.00313.40
8.0.120.0040.00416.89
8.0.110.0040.00416.86
8.0.100.0030.00516.71
8.0.90.0070.00016.64
8.0.80.0050.01016.79
8.0.70.0000.00816.80
8.0.60.0000.00716.74
8.0.50.0040.00416.68
8.0.30.0130.00617.11
8.0.20.0070.01217.40
8.0.10.0070.00016.97
8.0.00.0100.00916.64
7.4.330.0050.00016.82
7.4.320.0040.00416.46
7.4.300.0030.00316.54
7.4.290.0000.00716.49
7.4.280.0050.00316.49
7.4.270.0000.00716.41
7.4.260.0030.00313.25
7.4.250.0040.00416.36
7.4.240.0040.00316.45
7.4.230.0030.00316.42
7.4.220.0190.00616.55
7.4.210.0050.01016.49
7.4.200.0030.00316.64
7.4.190.0000.00716.60
7.4.160.0070.01016.44
7.4.150.0090.01017.40
7.4.140.0130.00517.86
7.4.130.0120.00516.48
7.4.120.0110.00616.46
7.4.110.0030.01416.37
7.4.100.0100.01016.47
7.4.90.0110.00716.37
7.4.80.0060.01219.39
7.4.70.0040.01216.37
7.4.60.0120.01216.50
7.4.50.0060.00316.14
7.4.40.0070.01022.77
7.4.30.0070.01116.50
7.3.330.0050.00013.03
7.3.320.0050.00013.24
7.3.310.0000.00716.30
7.3.300.0050.00216.23
7.3.290.0140.00516.16
7.3.280.0110.00716.19
7.3.270.0190.00017.40
7.3.260.0130.00918.24
7.3.250.0080.00916.47
7.3.240.0000.01616.16
7.3.230.0110.00616.44
7.3.210.0120.00616.29
7.3.200.0130.00919.39
7.3.190.0090.00916.45
7.3.180.0040.01116.21
7.3.170.0030.01316.41
7.3.160.0080.00816.12
7.2.330.0140.00316.56
7.2.320.0100.00716.34
7.2.310.0100.00716.29
7.2.300.0100.00716.68
7.2.290.0080.00816.32
5.4.220.0330.06318.87
5.4.210.0200.04319.24
5.4.200.0200.03719.01
5.4.190.0230.07019.07
5.4.180.0230.07019.16
5.4.170.0300.03719.21
5.4.160.0230.04318.96
5.4.150.0270.07019.29
5.4.140.0230.07016.34
5.4.130.0200.04716.50
5.4.120.0330.06016.45
5.4.110.0200.07316.45
5.4.100.0230.05316.64
5.4.90.0230.07016.51
5.4.80.0300.06016.55
5.4.70.0330.06016.36
5.4.60.0200.04316.16
5.4.50.0200.04316.32
5.4.40.0130.04716.23
5.4.30.0330.04016.53
5.4.20.0300.06016.53
5.4.10.0170.05716.51
5.4.00.0200.03316.15
5.3.290.0100.04014.60
5.3.280.0230.06314.50
5.3.270.0230.03314.39
5.3.260.0230.03314.43
5.3.250.0370.05014.50
5.3.240.0230.05314.55
5.3.230.0230.07014.50
5.3.220.0400.04014.40
5.3.210.0270.07014.52
5.3.200.0300.07314.40
5.3.190.0200.06714.51
5.3.180.0230.06714.42
5.3.170.0270.04714.51
5.3.160.0270.06314.41
5.3.150.0270.07014.39
5.3.140.0270.07014.58
5.3.130.0100.05314.50
5.3.120.0270.06014.59
5.3.110.0200.05014.41
5.3.100.0130.04313.98
5.3.90.0200.03313.87
5.3.80.0300.03314.04
5.3.70.0100.05714.11
5.3.60.0300.06313.84
5.3.50.0230.06313.89
5.3.40.0230.05013.82
5.3.30.0300.05713.68
5.3.20.0200.06013.67
5.3.10.0230.05313.50
5.3.00.0300.06313.51
5.2.170.0200.03712.19
5.2.160.0270.04312.19
5.2.150.0270.04012.19
5.2.140.0230.05712.19
5.2.130.0200.04712.19
5.2.120.0230.04012.19
5.2.110.0200.03012.19
5.2.100.0230.05312.19
5.2.90.0230.04712.19
5.2.80.0230.05712.19
5.2.70.0200.04712.19
5.2.60.0230.03012.19
5.2.50.0230.05712.19
5.2.40.0170.03712.19
5.2.30.0100.05712.19
5.2.20.0200.05312.19
5.2.10.0230.03312.19
5.2.00.0100.06712.19
5.1.60.0130.04312.19
5.1.50.0270.03012.19
5.1.40.0070.04312.19
5.1.30.0230.03712.19
5.1.20.0200.05012.19
5.1.10.0200.05312.19
5.1.00.0170.05312.19
5.0.50.0270.02312.19
5.0.40.0100.03312.19
5.0.30.0130.06012.19
5.0.20.0170.04012.19
5.0.10.0030.03712.19
5.0.00.0100.05312.19
4.4.90.0100.03012.19
4.4.80.0070.02312.19
4.4.70.0130.02712.19
4.4.60.0170.02312.19
4.4.50.0070.03712.19
4.4.40.0030.03012.19
4.4.30.0070.02712.19
4.4.20.0130.03012.19
4.4.10.0100.03312.19
4.4.00.0030.05712.19
4.3.110.0070.02012.19
4.3.100.0100.02012.19
4.3.90.0100.03312.19
4.3.80.0130.03012.19
4.3.70.0070.01712.19
4.3.60.0070.01312.19
4.3.50.0170.03012.19
4.3.40.0070.03012.19
4.3.30.0100.03012.19
4.3.20.0070.03012.19
4.3.10.0030.04012.19
4.3.00.0030.02012.19

preferences:
51.73 ms | 401 KiB | 5 Q