3v4l.org

run code in 300+ PHP versions simultaneously
<?php $donnes['id'] = 2; $xml = new XMLWriter(); $xml->openUri('php://output'); //$xml->openUri('periclestg.xml'); $xml->startDocument('1.0', 'iso-8859-1'); $xml->setIndent(true); $xml->startElement('XMLPericles'); $xml->startElement('BIENS'); $xml->writeAttribute('ORIGINE_PROSPECT', PIGIMMO); $xml->startElement('BIEN'); $xml->writeElement('IDUNIQUE', $donnees['id']); $xml->endElement(); $xml->endElement(); $xml->endElement(); $xml->endDocument();

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.01518.40
8.3.50.0130.00822.05
8.3.40.0150.00018.88
8.3.30.0040.01119.34
8.3.20.0030.00520.16
8.3.10.0080.00023.82
8.3.00.0000.00719.17
8.2.180.0150.00018.66
8.2.170.0130.00722.96
8.2.160.0110.00420.47
8.2.150.0070.00025.66
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.91
8.2.110.0060.00320.95
8.2.100.0080.00317.97
8.2.90.0040.00418.16
8.2.80.0080.00018.16
8.2.70.0000.00818.18
8.2.60.0050.00518.34
8.2.50.0050.00318.10
8.2.40.0050.00321.18
8.2.30.0020.00519.43
8.2.20.0050.00317.84
8.2.10.0030.00518.24
8.2.00.0050.00317.81
8.1.280.0150.00325.92
8.1.270.0090.00019.13
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0160.00719.32
8.1.230.0070.00321.04
8.1.220.0030.00617.91
8.1.210.0030.00618.77
8.1.200.0040.00417.48
8.1.190.0000.00817.35
8.1.180.0050.00318.10
8.1.170.0000.00819.16
8.1.160.0040.00419.05
8.1.150.0000.00719.03
8.1.140.0040.00417.59
8.1.130.0050.00518.00
8.1.120.0000.00717.51
8.1.110.0040.00417.56
8.1.100.0040.00417.48
8.1.90.0000.00717.55
8.1.80.0050.00317.50
8.1.70.0030.00317.61
8.1.60.0000.00817.69
8.1.50.0050.00317.56
8.1.40.0000.00717.69
8.1.30.0040.00417.83
8.1.20.0070.00017.79
8.1.10.0050.00217.74
8.1.00.0080.00017.61
8.0.300.0000.00821.72
8.0.290.0030.00516.88
8.0.280.0070.00018.49
8.0.270.0020.00517.30
8.0.260.0030.00317.39
8.0.250.0000.00817.18
8.0.240.0080.00017.18
8.0.230.0000.00717.05
8.0.220.0040.00417.05
8.0.210.0040.00417.08
8.0.200.0040.00417.18
8.0.190.0070.00017.04
8.0.180.0000.00717.09
8.0.170.0040.00417.10
8.0.160.0070.00017.07
8.0.150.0070.00016.96
8.0.140.0080.00016.99
8.0.130.0090.00013.44
8.0.120.0040.00417.08
8.0.110.0050.00217.12
8.0.100.0000.00717.08
8.0.90.0080.00017.14
8.0.80.0140.01017.08
8.0.70.0040.00417.14
8.0.60.0070.00017.11
8.0.50.0040.00417.09
8.0.30.0120.00717.10
8.0.20.0090.01317.40
8.0.10.0000.00717.16
8.0.00.0100.01016.80
7.4.330.0020.00215.20
7.4.320.0000.00716.74
7.4.300.0030.00316.62
7.4.290.0040.00716.71
7.4.280.0000.00916.66
7.4.270.0030.00316.68
7.4.260.0000.00816.62
7.4.250.0000.00716.60
7.4.240.0040.00416.71
7.4.230.0000.00716.86
7.4.220.0140.00316.60
7.4.210.0000.01416.79
7.4.200.0000.00716.65
7.4.160.0030.01016.64
7.4.150.0110.00717.40
7.4.140.0080.00917.86
7.4.130.0100.01116.61
7.4.120.0150.00416.71
7.4.110.0150.00916.48
7.4.100.0100.00716.82
7.4.90.0120.00916.82
7.4.80.0130.00319.39
7.4.70.0060.01616.63
7.4.60.0100.00716.78
7.4.50.0040.00416.50
7.4.40.0100.00616.68
7.4.30.0100.00616.59
7.4.00.0000.01715.21
7.3.330.0000.00713.18
7.3.320.0000.00513.21
7.3.310.0020.00516.31
7.3.300.0070.00016.24
7.3.290.0020.01216.49
7.3.280.0110.00716.45
7.3.270.0130.00317.40
7.3.260.0170.00716.57
7.3.250.0130.01016.46
7.3.240.0150.00916.50
7.3.230.0030.01316.41
7.3.210.0070.01116.37
7.3.200.0070.01019.39
7.3.190.0100.00616.77
7.3.180.0090.01616.64
7.3.170.0070.01016.55
7.3.160.0090.00616.55
7.3.10.0190.00516.50
7.3.00.0230.00016.70
7.2.330.0100.01016.73
7.2.320.0080.01416.87
7.2.310.0100.00716.94
7.2.300.0060.01216.87
7.2.290.0070.01116.94
7.2.130.0230.00416.76
7.2.120.0150.01516.79
7.2.110.0300.01316.85
7.2.100.0100.01016.97
7.2.90.0060.00916.80
7.2.80.0090.00616.69
7.2.70.0180.00416.88
7.2.60.0070.00716.91
7.2.50.0090.00916.90
7.2.40.0080.01216.83
7.2.30.0030.01016.86
7.2.20.0080.00816.81
7.2.10.0120.00416.70
7.2.00.0050.00918.26
7.1.250.0230.01115.48
7.1.200.0000.01415.63
7.1.100.0000.01317.84
7.1.70.0080.00017.30
7.1.60.0070.01819.22
7.1.50.0100.01017.02
7.1.00.0070.07322.54
7.0.200.0050.00316.71
7.0.140.0030.05322.21
7.0.60.0070.07320.01
7.0.50.0230.06717.86
7.0.40.0030.08720.19
7.0.30.0800.03720.21
7.0.20.0200.07720.09
7.0.10.0100.06320.23
7.0.00.0100.07720.20
5.6.280.0030.07320.94
5.6.210.0070.07320.48
5.6.200.0070.03718.20
5.6.190.0030.07320.63
5.6.180.0200.05320.70
5.6.170.0330.07720.55
5.6.160.0100.08020.44
5.6.150.0030.07018.18
5.6.140.0030.08318.21
5.6.130.0030.07018.30
5.6.120.0100.08321.16
5.6.110.0100.08321.15
5.6.100.0070.07721.02
5.6.90.0030.04020.99
5.6.80.0100.03720.52
5.5.350.0230.07720.55
5.5.340.0070.07718.05
5.5.330.0070.04020.28
5.5.320.0100.06020.30
5.5.310.0270.09020.28
5.5.300.0130.06318.12
5.5.290.0130.07318.02
5.5.280.0070.04320.91
5.5.270.0070.07020.90
5.5.260.0030.05320.77
5.5.250.0030.08720.63
5.5.240.0070.07720.36
5.4.450.0300.05019.55
5.4.440.0230.05319.55
5.4.430.0200.06719.21
5.4.420.0170.05719.58
5.4.410.0170.05019.43
5.4.400.0270.04319.29
5.4.390.0200.05319.07
5.4.380.0230.05018.70
5.4.370.0200.05018.68
5.4.360.0230.05318.63
5.4.350.0130.06718.57
5.4.340.0300.04318.61
5.4.320.0200.05318.57
5.4.310.0200.05018.53
5.4.300.0200.05018.88
5.4.290.0130.05718.65
5.4.280.0070.06718.56
5.4.270.0270.07018.74
5.4.260.0100.06718.65
5.4.250.0170.05718.78
5.4.240.0230.05318.69
5.4.230.0130.05718.55
5.4.220.0230.05718.77
5.4.210.0230.06718.80
5.4.200.0200.06316.50
5.4.190.0230.05018.61
5.4.180.0170.05318.86
5.4.170.0200.05718.65
5.4.160.0230.04718.57
5.4.150.0200.05318.60
5.4.140.0170.05016.30
5.4.130.0200.04716.30
5.4.120.0130.05316.17
5.4.110.0100.05716.29
5.4.100.1200.06716.29
5.4.90.0170.06016.11
5.4.80.0270.04316.45
5.4.70.0370.03316.30
5.4.60.0200.05016.34
5.4.50.0170.05316.27
5.4.40.0170.05316.29
5.4.30.0300.05316.16
5.4.20.0270.06316.28
5.4.10.0330.05316.11
5.4.00.0200.05015.56
5.3.290.0170.06014.83
5.3.280.0270.04714.73
5.3.270.0300.05714.85
5.3.260.0200.06014.65
5.3.250.0400.05714.58
5.3.240.0270.05314.59
5.3.230.0230.05314.82
5.3.220.0330.04314.55
5.3.210.0200.06014.55
5.3.200.0270.04314.79
5.3.190.0230.06014.70
5.3.180.0170.05314.54
5.3.170.0370.04014.73
5.3.160.0170.05314.62
5.3.150.0170.05714.73
5.3.140.0130.05314.77
5.3.130.0100.06014.71
5.3.120.0330.05314.71
5.3.110.0230.05014.69
5.3.100.0200.05314.04
5.3.90.0170.05714.13
5.3.80.0130.06014.07
5.3.70.0270.04314.08
5.3.60.0270.04314.23
5.3.50.0230.04714.14
5.3.40.0130.05713.98
5.3.30.0200.04714.08
5.3.20.0170.05013.69
5.3.10.0300.03713.71
5.3.00.0200.05013.70
5.2.170.0130.04311.45
5.2.160.0170.03711.14
5.2.150.0100.06011.24
5.2.140.0200.04011.35
5.2.130.0130.04711.10
5.2.120.0170.03711.23
5.2.110.0230.03711.16
5.2.100.0100.04311.28
5.2.90.0130.04311.21
5.2.80.0200.05311.08
5.2.70.0200.05311.27
5.2.60.0300.04711.22
5.2.50.0170.04011.19
5.2.40.0130.04010.97
5.2.30.0100.04310.96
5.2.20.0230.04710.98
5.2.10.0270.03710.96
5.2.00.0170.03710.78
5.1.60.0100.03710.06
5.1.50.0070.04010.10
5.1.40.0200.03010.23
5.1.30.0270.04010.57
5.1.20.0070.05710.48
5.1.10.0670.03710.04
5.1.00.0730.04710.09
5.0.50.0430.0278.60
5.0.40.1900.0308.43
5.0.30.0200.0338.25
5.0.20.0130.0238.23
5.0.10.0030.0378.20
5.0.00.0030.0478.20
4.4.90.0030.0235.91
4.4.80.0030.0235.87
4.4.70.0030.0235.85
4.4.60.0070.0305.87
4.4.50.0170.0235.92
4.4.40.0100.0335.87
4.4.30.0030.0235.89
4.4.20.0170.0135.98
4.4.10.0070.0205.93
4.4.00.0000.0405.88
4.3.110.0000.0305.80
4.3.100.0070.0205.82
4.3.90.0030.0235.80
4.3.80.0070.0335.78
4.3.70.0070.0205.79
4.3.60.0070.0205.81
4.3.50.0030.0235.77
4.3.40.0100.0305.82
4.3.30.0070.0204.57
4.3.20.0070.0204.54
4.3.10.0030.0234.47
4.3.00.0000.0237.58

preferences:
67.63 ms | 401 KiB | 5 Q