3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" > <soap:Body> <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> </soap:Body> </soap:Envelope> XML; $response = simplexml_load_string($xml); var_dump($response->xpath("/soap:Envelope/soap:Body/*[local-name()='FlagSeatsViaXmlRequestResponse'][1]")[0]);

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.0100.01318.66
8.3.50.0070.01622.24
8.3.40.0070.01119.04
8.3.30.0100.00619.39
8.3.20.0060.00320.45
8.3.10.0060.00322.39
8.3.00.0060.00322.62
8.2.180.0170.01319.04
8.2.170.0080.00822.96
8.2.160.0170.00721.31
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0060.00326.16
8.2.120.0060.00319.86
8.2.110.0030.00722.61
8.2.100.0100.00318.16
8.2.90.0050.00319.67
8.2.80.0090.00018.53
8.2.70.0030.00618.00
8.2.60.0060.00318.43
8.2.50.0060.00318.07
8.2.40.0030.00618.66
8.2.30.0040.00418.54
8.2.20.0040.00418.14
8.2.10.0040.00417.99
8.2.00.0000.00818.09
8.1.280.0090.01225.92
8.1.270.0030.00622.74
8.1.260.0100.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00324.41
8.1.230.0080.00419.62
8.1.220.0030.00618.16
8.1.210.0040.00418.77
8.1.200.0070.00417.72
8.1.190.0060.00318.03
8.1.180.0000.00918.10
8.1.170.0040.00418.88
8.1.160.0040.00422.39
8.1.150.0030.00618.97
8.1.140.0050.00317.88
8.1.130.0030.00518.17
8.1.120.0030.00517.67
8.1.110.0040.00417.88
8.1.100.0000.00817.69
8.1.90.0080.00017.63
8.1.80.0060.00317.84
8.1.70.0030.00517.64
8.1.60.0070.00317.99
8.1.50.0000.00917.71
8.1.40.0040.00417.93
8.1.30.0030.00617.79
8.1.20.0000.00818.03
8.1.10.0030.00617.81
8.1.00.0030.00617.72
8.0.300.0000.00818.77
8.0.290.0080.00017.43
8.0.280.0030.00518.70
8.0.270.0000.00817.54
8.0.260.0070.00017.11
8.0.250.0040.00417.26
8.0.240.0000.00917.20
8.0.230.0000.00817.23
8.0.220.0000.00817.14
8.0.210.0070.00017.10
8.0.200.0000.00817.38
8.0.190.0040.00417.44
8.0.180.0050.00317.18
8.0.170.0080.00017.18
8.0.160.0000.00817.31
8.0.150.0060.00317.30
8.0.140.0030.00617.32
8.0.130.0030.00313.59
8.0.120.0000.00917.32
8.0.110.0080.00017.16
8.0.100.0000.00817.43
8.0.90.0030.00617.37
8.0.80.0180.00017.27
8.0.70.0050.00317.24
8.0.60.0000.00817.18
8.0.50.0000.00817.19
8.0.30.0200.00617.36
8.0.20.0140.01417.40
8.0.10.0080.00017.38
8.0.00.0130.01217.20
7.4.330.0050.00315.32
7.4.320.0040.00416.89
7.4.300.0030.00316.72
7.4.290.0040.00416.89
7.4.280.0050.00316.87
7.4.270.0040.00416.88
7.4.260.0070.00016.74
7.4.250.0080.00016.88
7.4.240.0040.00416.90
7.4.230.0080.00016.80
7.4.220.0070.01416.80
7.4.210.0060.01316.91
7.4.200.0000.00716.90
7.4.190.0080.00016.86
7.4.160.0110.00816.97
7.4.150.0090.01517.40
7.4.140.0130.00917.86
7.4.130.0110.01416.82
7.4.120.0130.01016.88
7.4.110.0090.02116.93
7.4.100.0100.01316.88
7.4.90.0030.01816.95
7.4.80.0110.01516.90
7.4.70.0190.01116.97
7.4.60.0110.01716.96
7.4.50.0070.00316.80
7.4.40.0070.00722.77
7.4.30.0090.00916.72
7.4.00.0040.01115.09
7.3.330.0060.00013.45
7.3.320.0060.00013.29
7.3.310.0000.00816.57
7.3.300.0080.00016.73
7.3.290.0100.00716.68
7.3.280.0120.00916.67
7.3.270.0200.00317.40
7.3.260.0140.00816.64
7.3.250.0110.01316.79
7.3.240.0040.01916.71
7.3.230.0040.01717.12
7.3.210.0070.01416.80
7.3.200.0150.01219.39
7.3.190.0060.01716.81
7.3.180.0100.01016.70
7.3.170.0080.01316.77
7.3.160.0160.00616.92
7.3.120.0060.01015.12
7.3.110.0160.00414.98
7.3.100.0070.00715.05
7.3.90.0030.01714.89
7.3.80.0120.00314.98
7.3.70.0070.00414.73
7.3.60.0060.00814.65
7.3.50.0180.00015.14
7.3.40.0000.01314.97
7.3.30.0040.00714.77
7.3.20.0120.00616.67
7.3.10.0070.00716.50
7.3.00.0130.00316.75
7.2.330.0130.00916.97
7.2.320.0080.01116.83
7.2.310.0100.01116.70
7.2.300.0150.00616.63
7.2.290.0120.00716.96
7.2.250.0040.01815.41
7.2.240.0100.01315.27
7.2.230.0030.01015.18
7.2.220.0060.00915.28
7.2.210.0090.00915.32
7.2.200.0120.00415.04
7.2.190.0140.00715.21
7.2.180.0040.00815.06
7.2.170.0070.00814.88
7.2.00.0090.00619.64
7.1.330.0060.00915.96
7.1.320.0070.01416.31
7.1.310.0000.01415.76
7.1.300.0000.01515.82
7.1.290.0070.00715.70
7.1.280.0070.00315.84
7.1.270.0040.01115.89
7.1.260.0100.00716.04
7.1.100.0090.00618.18
7.1.70.0000.00817.46
7.1.60.0100.01719.82
7.1.50.0060.00617.06
7.1.00.0030.07722.74
7.0.200.0070.00716.83
7.0.140.0000.07322.27
7.0.60.1770.07720.29
7.0.50.0070.05318.12
7.0.40.0200.07320.47
7.0.30.0430.04720.38
7.0.20.0300.08720.20
7.0.10.0270.08020.34
7.0.00.0070.09320.32
5.6.280.0130.08321.39
5.6.210.1270.07020.88
5.6.200.0100.05718.40
5.6.190.0030.09320.88
5.6.180.3430.04720.87
5.6.170.0300.08720.78
5.6.160.0100.08320.72
5.6.150.0100.05018.38
5.6.140.0100.05318.42
5.6.130.0130.07018.42
5.6.120.0130.03721.26
5.6.110.0070.04321.14
5.6.100.0130.06321.36
5.6.90.0030.05021.34
5.6.80.0130.03020.76
5.5.350.0070.08720.65
5.5.340.0130.08318.21
5.5.330.0030.05020.77
5.5.320.0300.06020.52
5.5.310.0270.05320.45
5.5.300.0100.04018.18
5.5.290.0130.08018.24
5.5.280.0070.04321.01
5.5.270.0100.08721.08
5.5.260.0070.08721.04
5.5.250.0100.06720.96
5.5.240.0100.04720.25
5.4.450.0100.05019.76
5.4.440.0230.04319.45
5.4.430.0130.04719.74
5.4.420.0530.05319.61
5.4.410.0170.05018.91
5.4.400.0100.05718.99
5.4.390.0100.05718.68
5.4.380.0200.05318.71
5.4.370.0100.07018.97
5.4.360.0470.04718.73
5.4.350.0400.05018.71
5.4.340.0300.06018.84
5.4.320.0060.03912.80
5.4.310.0070.04212.80
5.4.300.0090.04612.80
5.4.290.0100.04212.80
5.4.280.0090.03512.69
5.4.270.0070.03712.69
5.4.260.0110.03512.69
5.4.250.0070.03812.69
5.4.240.0050.03912.69
5.4.230.0120.04912.68
5.4.220.0070.04012.68
5.4.210.0080.03912.68
5.4.200.0070.03812.68
5.4.190.0090.03412.68
5.4.180.0130.03612.68
5.4.170.0070.03812.69
5.4.160.0070.03712.68
5.4.150.0040.04112.68
5.4.140.0120.03312.37
5.4.130.0050.03912.36
5.4.120.0110.03312.31
5.4.110.0090.03612.30
5.4.100.0040.04012.31
5.4.90.0070.03912.31
5.4.80.0110.03612.31
5.4.70.0060.03712.30
5.4.60.0080.04512.30
5.4.50.0080.03712.30
5.4.40.0130.04612.29
5.4.30.0100.03712.29
5.4.20.0070.04212.29
5.4.10.0090.03712.29
5.4.00.0070.04111.78
5.3.290.0060.04912.80
5.3.280.0040.03912.71
5.3.270.0070.04912.72
5.3.260.0050.03912.71
5.3.250.0040.03912.72
5.3.240.0080.03512.71
5.3.230.0050.03912.71
5.3.220.0030.04112.68
5.3.210.0060.04012.68
5.3.200.0070.04912.68
5.3.190.0060.04012.68
5.3.180.0050.03712.68
5.3.170.0050.03712.67
5.3.160.0050.03812.68
5.3.150.0040.04012.67
5.3.140.0070.03712.66
5.3.130.0070.03912.65
5.3.120.0040.04112.65
5.3.110.0040.04112.66
5.3.100.0100.03412.12
5.3.90.0080.04412.08
5.3.80.0030.04812.08
5.3.70.0050.03712.07
5.3.60.0090.04112.06
5.3.50.0040.04712.00
5.3.40.0040.03812.00
5.3.30.0060.03411.94
5.3.20.0080.03111.71
5.3.10.0040.03711.68
5.3.00.0060.03811.66
5.2.170.0050.0309.16
5.2.160.0050.0289.16
5.2.150.0060.0299.16
5.2.140.0040.0309.16
5.2.130.0020.0349.12
5.2.120.0060.0279.12
5.2.110.0030.0309.12
5.2.100.0030.0309.13
5.2.90.0070.0279.12
5.2.80.0050.0309.12
5.2.70.0040.0319.11
5.2.60.0040.0309.07
5.2.50.0040.0319.05
5.2.40.0030.0319.01
5.2.30.0050.0358.99
5.2.20.0060.0339.11
5.2.10.0070.0309.04
5.2.00.0030.0318.89
5.1.60.0050.0248.20
5.1.50.0030.0268.20
5.1.40.0050.0268.18
5.1.30.0050.0268.53
5.1.20.0040.0278.54
5.1.10.0020.0308.27
5.1.00.0060.0268.27
5.0.50.0030.0236.75
5.0.40.0030.0216.61
5.0.30.0050.0306.42
5.0.20.0000.0256.39
5.0.10.0070.0216.37
5.0.00.0080.0316.36
4.4.90.0070.0194.78
4.4.80.0020.0244.75
4.4.70.0050.0194.75
4.4.60.0030.0154.76
4.4.50.0040.0144.77
4.4.40.0030.0274.75
4.4.30.0020.0174.76
4.4.20.0010.0214.84
4.4.10.0040.0154.85
4.4.00.0040.0294.78
4.3.110.0040.0164.70
4.3.100.0020.0164.69
4.3.90.0040.0134.66
4.3.80.0030.0244.66
4.3.70.0030.0144.66
4.3.60.0030.0144.66
4.3.50.0040.0184.66
4.3.40.0060.0274.61
4.3.30.0030.0153.42
4.3.20.0030.0153.40
4.3.10.0040.0183.32
4.3.00.0030.01313.03

preferences:
43.82 ms | 401 KiB | 5 Q