3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml version="1.0" encoding="utf-8"?> <FlagSeatsViaXmlRequestResponse xmlns="http://www.rodrigue.fr/"> <FlagSeatsViaXmlRequestResult> <root basketid="772" creationdate="20140514 14:36:58"> <flagarea sessionid="421" eventid="100" sectionid="180001" zoneid="180001" floorid="180001" categoryid="180001" formulaid="1"> <bloccontigue> <flagseat iindex="218" entree_id="904" pos_x="28" pos_y="20" rank="B" seat="5" denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7935" vtsId="50" UnitPriceInCents="1950"/> <flagseat iindex="231" entree_id="915" pos_x="29" pos_y="20" rank="B" seat="7" denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7935" vtsId="50" UnitPriceInCents="1950"/> </bloccontigue> </flagarea> <flagarea sessionid="423" eventid="207" sectionid="180001" zoneid="180001" floorid="180001" categoryid="180001" formulaid="1"> <bloccontigue> <flagseat iindex="230" entree_id="561" pos_x="29" pos_y="19" rank="C" seat="7" denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7650" vtsId="61" UnitPriceInCents="1950"/> <flagseat iindex="241" entree_id="572" pos_x="30" pos_y="19" rank="C" seat="9" denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7650" vtsId="61" UnitPriceInCents="1950"/> </bloccontigue> </flagarea> <flagarea sessionid="117" eventid="94" sectionid="170001" zoneid="170001" floorid="0" categoryid="170001" formulaid="1"> <bloccontigue> <flagseat iindex="1020" entree_id="916" pos_x="62" pos_y="42" rank="S" seat="21" denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7651" vtsId="112" UnitPriceInCents="1950"/> <flagseat iindex="1047" entree_id="943" pos_x="63" pos_y="42" rank="S" seat="23" denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7651" vtsId="112" UnitPriceInCents="1950"/> </bloccontigue> </flagarea> <flagarea sessionid="155" eventid="120" sectionid="170001" zoneid="170001" floorid="0" categoryid="170001" formulaid="1"> <bloccontigue> <flagseat iindex="1043" entree_id="939" pos_x="63" pos_y="24" rank="C" seat="17" denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7625" vtsId="66" UnitPriceInCents="1950"/> <flagseat iindex="1070" entree_id="966" pos_x="64" pos_y="24" rank="C" seat="19" denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7625" vtsId="66" UnitPriceInCents="1950"/> </bloccontigue> </flagarea> <mailingproducts/> </root> </FlagSeatsViaXmlRequestResult> </FlagSeatsViaXmlRequestResponse> XML; $response = simplexml_load_string($xml); var_dump($response);

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.0120.00618.96
8.3.30.0100.00619.03
8.3.20.0030.00620.59
8.3.10.0040.00422.25
8.3.00.0040.00422.68
8.2.170.0120.00422.96
8.2.160.0140.00721.24
8.2.150.0090.00024.18
8.2.140.0090.00024.66
8.2.130.0060.00326.16
8.2.120.0140.00419.49
8.2.110.0040.00722.64
8.2.100.0070.00718.16
8.2.90.0000.00819.46
8.2.80.0040.00418.05
8.2.70.0000.01117.75
8.2.60.0000.00918.05
8.2.50.0030.00718.07
8.2.40.0000.00818.22
8.2.30.0060.00318.26
8.2.20.0000.00917.91
8.2.10.0000.00817.95
8.2.00.0090.00317.84
8.1.270.0090.00024.13
8.1.260.0030.00626.35
8.1.250.0050.00528.09
8.1.240.0070.00324.11
8.1.230.0060.00619.40
8.1.220.0040.00417.89
8.1.210.0000.00818.77
8.1.200.0100.00017.60
8.1.190.0040.00417.66
8.1.180.0060.00318.10
8.1.170.0000.00918.76
8.1.160.0040.00422.13
8.1.150.0070.00418.86
8.1.140.0030.00617.57
8.1.130.0040.00418.05
8.1.120.0000.00817.75
8.1.110.0060.00317.56
8.1.100.0060.00317.57
8.1.90.0040.00417.74
8.1.80.0000.00717.73
8.1.70.0000.00817.73
8.1.60.0000.00917.76
8.1.50.0080.00017.61
8.1.40.0040.00417.66
8.1.30.0090.00017.73
8.1.20.0080.00017.80
8.1.10.0000.00817.63
8.1.00.0090.00017.58
8.0.300.0030.00518.77
8.0.290.0040.00417.43
8.0.280.0040.00418.69
8.0.270.0000.00717.37
8.0.260.0040.00417.10
8.0.250.0040.00417.12
8.0.240.0040.00417.12
8.0.230.0040.00417.21
8.0.220.0050.00317.19
8.0.210.0040.00417.25
8.0.200.0000.00717.25
8.0.190.0090.00017.11
8.0.180.0090.00017.24
8.0.170.0000.00917.11
8.0.160.0050.00316.96
8.0.150.0040.00416.96
8.0.140.0050.00317.18
8.0.130.0000.00613.68
8.0.120.0040.00417.09
8.0.110.0000.00817.15
8.0.100.0050.00317.11
8.0.90.0040.00417.20
8.0.80.0190.00017.09
8.0.70.0050.00317.14
8.0.60.0030.00517.22
8.0.50.0040.00417.03
8.0.30.0160.01117.26
8.0.20.0110.01217.50
8.0.10.0000.00817.34
8.0.00.0130.01716.94
7.4.330.0000.00715.00
7.4.320.0030.00316.81
7.4.300.0050.00316.72
7.4.290.0070.00016.72
7.4.280.0050.00316.61
7.4.270.0060.00316.57
7.4.260.0070.00016.87
7.4.250.0040.00416.69
7.4.240.0040.00416.71
7.4.230.0080.00016.69
7.4.220.0100.01016.63
7.4.210.0070.00916.81
7.4.200.0000.00716.78
7.4.190.0050.00316.68
7.4.160.0180.00416.70
7.4.150.0150.01917.40
7.4.140.0120.01317.86
7.4.130.0130.01216.79
7.4.120.0100.01116.76
7.4.110.0090.01216.80
7.4.100.0070.01516.73
7.4.90.0120.00916.61
7.4.80.0120.00916.97
7.4.70.0090.01116.81
7.4.60.0180.00316.51
7.4.50.0000.00716.34
7.4.40.0100.00722.77
7.4.30.0170.00316.45
7.4.00.0070.01115.06
7.3.330.0030.00313.30
7.3.320.0030.00313.15
7.3.310.0000.00816.50
7.3.300.0000.00716.37
7.3.290.0030.01416.45
7.3.280.0100.01016.46
7.3.270.0150.00817.40
7.3.260.0170.00316.64
7.3.250.0170.00516.62
7.3.240.0070.01316.60
7.3.230.0130.01316.67
7.3.210.0110.01016.51
7.3.200.0090.02419.39
7.3.190.0240.00316.69
7.3.180.0060.01516.82
7.3.170.0130.00716.45
7.3.160.0130.00716.77
7.3.120.0110.00715.05
7.3.10.0120.00916.34
7.3.00.0120.00616.00
7.2.330.0140.01016.94
7.2.320.0070.01316.41
7.2.310.0090.01216.66
7.2.300.0120.00816.90
7.2.290.0120.00916.88
7.2.130.0090.00916.47
7.2.120.0070.01116.65
7.2.110.0200.00316.46
7.2.100.0110.01116.85
7.2.90.0110.00316.59
7.2.80.0120.00616.52
7.2.70.0170.00016.68
7.2.60.0210.00016.58
7.2.50.0160.00316.83
7.2.40.0170.00616.51
7.2.30.0110.00816.89
7.2.20.0090.00916.98
7.2.10.0130.01316.38
7.2.00.0060.00618.02
7.1.250.0140.00615.38
7.1.100.0070.00717.89
7.1.70.0100.00717.19
7.1.60.0100.01619.82
7.1.50.0220.01834.92
7.1.00.0000.08022.62
7.0.200.0060.01216.83
7.0.140.0070.07022.27
7.0.60.1570.05320.22
7.0.50.0070.06318.04
7.0.40.0030.09320.47
7.0.30.0370.07020.41
7.0.20.0300.03720.43
7.0.10.0300.07720.46
7.0.00.0130.08020.32
5.6.280.0030.07721.09
5.6.210.0230.05720.70
5.6.200.0000.04718.34
5.6.190.0100.06720.69
5.6.180.3630.04720.54
5.6.170.0200.04720.56
5.6.160.0130.08320.71
5.6.150.0170.07318.34
5.6.140.0070.07718.31
5.6.130.0100.06018.34
5.6.120.0170.06321.22
5.6.110.0070.07721.26
5.6.100.0130.08021.25
5.6.90.0000.09021.23
5.6.80.0000.04720.46
5.6.70.2930.04320.61
5.5.350.0070.07320.59
5.5.340.0070.06718.12
5.5.330.0030.09320.38
5.5.320.0500.06020.57
5.5.310.0200.04320.53
5.5.300.0070.08018.14
5.5.290.0000.04718.08
5.5.280.0070.05020.87
5.5.270.0000.06320.90
5.5.260.0170.08021.07
5.5.250.0130.07720.79
5.5.240.0100.05720.45
5.4.450.2000.04719.38
5.4.440.1830.03319.70
5.4.430.1930.04319.45
5.4.420.1970.04319.64
5.4.410.1970.04719.24
5.4.400.2000.03719.20
5.4.390.1870.05019.03
5.4.380.1930.03719.21
5.4.370.1970.03719.20
5.4.360.1900.04319.36
5.4.350.1700.03319.20
5.4.340.1600.03319.35
5.4.320.1800.03319.02
5.4.310.1830.04319.21
5.4.300.1800.03719.38
5.4.290.0130.06019.03
5.4.280.0070.07719.05
5.4.270.0800.07319.03
5.4.260.2070.04019.05
5.4.250.1870.04719.38
5.4.240.1870.05019.26
5.4.230.1970.04019.34
5.4.220.1900.04719.05
5.4.210.1970.03719.20
5.4.200.1900.04719.25
5.4.190.1870.04719.20
5.4.180.1670.03719.18
5.4.170.2030.04319.31
5.4.160.1930.05019.20
5.4.150.1930.04319.32
5.4.140.1800.03716.42
5.4.130.1900.05016.51
5.4.120.1870.04016.52
5.4.110.1870.04716.63
5.4.100.2100.03016.31
5.4.90.1800.04016.62
5.4.80.1870.04716.30
5.4.70.1900.04316.38
5.4.60.1800.03016.29
5.4.50.2000.03716.58
5.4.40.2000.03716.61
5.4.30.1730.04716.54
5.4.20.1700.04016.65
5.4.10.1870.04016.28
5.4.00.1970.04315.87
5.3.290.1730.04014.71
5.3.280.1800.03314.64
5.3.270.1770.03714.81
5.3.260.1870.03714.80
5.3.250.1870.04014.82
5.3.240.1730.03714.61
5.3.230.1930.04714.65
5.3.220.1770.03314.63
5.3.210.1730.03314.76
5.3.200.1670.04014.62
5.3.190.1730.04014.66
5.3.180.2030.04014.66
5.3.170.1730.03714.55
5.3.160.2030.04014.77
5.3.150.1730.03714.66
5.3.140.1800.03014.71
5.3.130.1730.03714.79
5.3.120.2100.04014.57
5.3.110.2000.04714.55
5.3.100.1770.03314.08
5.3.90.1900.03714.27
5.3.80.1930.03714.23
5.3.70.1630.04014.05
5.3.60.1770.03014.20
5.3.50.1730.03313.89
5.3.40.1630.03313.98
5.3.30.1830.04013.96
5.3.20.1670.04713.88
5.3.10.1630.04013.75
5.3.00.0130.03713.73
5.2.170.0030.03011.15
5.2.160.0000.03011.33
5.2.150.1400.03011.39
5.2.140.1400.02711.17
5.2.130.1230.03311.18
5.2.120.1530.03311.18
5.2.110.1670.03711.19
5.2.100.1670.03711.25
5.2.90.1270.03011.18
5.2.80.1430.03011.29
5.2.70.1300.03011.17
5.2.60.1400.03711.26
5.2.50.0000.03311.35
5.2.40.0030.03311.20
5.2.30.0030.03711.16
5.2.20.0570.03011.43
5.2.10.0970.02311.12
5.2.00.1130.02711.13
5.1.60.0030.02710.29
5.1.50.0000.02710.31
5.1.40.0000.02710.36
5.1.30.0200.03010.50
5.1.20.0830.02310.62
5.1.10.0870.02010.32
5.1.00.1030.03010.31
5.0.50.0500.0209.51
5.0.40.0600.0179.51
5.0.30.0530.0339.51
5.0.20.0500.0139.51
5.0.10.0670.0239.51
5.0.00.0570.0309.51
4.4.90.0570.0139.51
4.4.80.0600.0139.51
4.4.70.0530.0109.51
4.4.60.0530.0139.51
4.4.50.0570.0139.51
4.4.40.0500.0309.51
4.4.30.0470.0139.51
4.4.20.0600.0139.51
4.4.10.0630.0179.51
4.4.00.0570.0239.51
4.3.110.0600.0109.51
4.3.100.0570.0139.51
4.3.90.0530.0179.51
4.3.80.0770.0339.51
4.3.70.0600.0139.51
4.3.60.0700.0139.51
4.3.50.0770.0279.51
4.3.40.0800.0339.51
4.3.30.0400.0239.51
4.3.20.0300.0209.51
4.3.10.0330.0309.51
4.3.00.0370.0309.51

preferences:
42.64 ms | 400 KiB | 5 Q