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:Body/*[local-name()='FlagSeatsViaXmlRequestResponse']"));

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.01018.80
8.3.50.0100.00722.14
8.3.40.0170.00019.09
8.3.30.0030.01319.51
8.3.20.0030.00620.59
8.3.10.0030.00622.38
8.3.00.0000.00922.71
8.2.180.0180.00016.75
8.2.170.0070.01022.96
8.2.160.0100.00721.32
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0100.00019.86
8.2.110.0070.00422.49
8.2.100.0090.00918.08
8.2.90.0040.00419.46
8.2.80.0090.00318.30
8.2.70.0040.00718.00
8.2.60.0090.00018.30
8.2.50.0000.00918.07
8.2.40.0040.00418.66
8.2.30.0080.00018.51
8.2.20.0030.00617.99
8.2.10.0000.00818.19
8.2.00.0030.00518.16
8.1.280.0090.00925.92
8.1.270.0050.00523.96
8.1.260.0030.00626.35
8.1.250.0210.00028.09
8.1.240.0000.01024.38
8.1.230.0090.00319.66
8.1.220.0030.00618.16
8.1.210.0030.00618.77
8.1.200.0030.00717.60
8.1.190.0060.00317.76
8.1.180.0040.00418.10
8.1.170.0060.00318.87
8.1.160.0040.00422.43
8.1.150.0000.00919.01
8.1.140.0040.00417.75
8.1.130.0080.00018.18
8.1.120.0000.00817.84
8.1.110.0000.00817.82
8.1.100.0030.00617.80
8.1.90.0080.00017.88
8.1.80.0040.00417.81
8.1.70.0080.00017.65
8.1.60.0100.00517.77
8.1.50.0000.00817.92
8.1.40.0080.00017.74
8.1.30.0060.00317.79
8.1.20.0060.00318.04
8.1.10.0000.00917.73
8.1.00.0000.00817.60
8.0.300.0000.00818.77
8.0.290.0000.00917.53
8.0.280.0040.00418.84
8.0.270.0000.00817.49
8.0.260.0050.00517.17
8.0.250.0040.00417.16
8.0.240.0050.00217.43
8.0.230.0040.00417.41
8.0.220.0050.00217.36
8.0.210.0040.00417.23
8.0.200.0000.00817.19
8.0.190.0000.00817.25
8.0.180.0080.00017.19
8.0.170.0000.00917.26
8.0.160.0040.00417.16
8.0.150.0030.00517.30
8.0.140.0080.00017.12
8.0.130.0080.00013.76
8.0.120.0040.00417.29
8.0.110.0040.00417.36
8.0.100.0030.00617.25
8.0.90.0080.00017.13
8.0.80.0070.01417.23
8.0.70.0080.00017.16
8.0.60.0080.00017.27
8.0.50.0040.00417.25
8.0.30.0190.01317.47
8.0.20.0190.00417.42
8.0.10.0040.00417.31
8.0.00.0160.01017.15
7.4.330.0030.00415.50
7.4.320.0000.00716.99
7.4.300.0000.00816.76
7.4.290.0000.00816.89
7.4.280.0000.00716.97
7.4.270.0000.00816.89
7.4.260.0060.00316.87
7.4.250.0000.00916.86
7.4.240.0020.00516.81
7.4.230.0080.00016.92
7.4.220.0140.00716.88
7.4.210.0070.01216.88
7.4.200.0040.00416.75
7.4.190.0040.00416.94
7.4.160.0070.01316.85
7.4.150.0150.00917.40
7.4.140.0110.01217.86
7.4.130.0100.01416.88
7.4.120.0080.01516.72
7.4.110.0090.01216.88
7.4.100.0200.00516.73
7.4.90.0070.01516.84
7.4.80.0060.01616.70
7.4.70.0120.00816.68
7.4.60.0000.02116.75
7.4.50.0030.00716.72
7.4.40.0100.01022.77
7.4.30.0100.01416.90
7.4.00.0110.00914.82
7.3.330.0030.00313.52
7.3.320.0060.00013.52
7.3.310.0030.00516.37
7.3.300.0040.00416.46
7.3.290.0090.00616.51
7.3.280.0090.01416.57
7.3.270.0170.00817.40
7.3.260.0220.01016.52
7.3.250.0170.00516.63
7.3.240.0170.00616.78
7.3.230.0040.01516.72
7.3.210.0000.02216.67
7.3.200.0170.01219.39
7.3.190.0120.00916.56
7.3.180.0190.00316.77
7.3.170.0100.01716.84
7.3.160.0120.00916.52
7.3.120.0110.00914.84
7.3.110.0070.01414.66
7.3.100.0120.00614.91
7.3.90.0030.00814.76
7.3.80.0120.00614.83
7.3.70.0060.00914.47
7.3.60.0090.00914.90
7.3.50.0040.00714.87
7.3.40.0070.01014.89
7.3.30.0040.00714.86
7.3.20.0100.01316.43
7.3.10.0060.01216.55
7.3.00.0070.01016.73
7.2.330.0160.00616.78
7.2.320.0040.01816.73
7.2.310.0190.00316.88
7.2.300.0120.00916.97
7.2.290.0130.01016.60
7.2.250.0120.00915.02
7.2.240.0060.01315.16
7.2.230.0090.00914.80
7.2.220.0060.00914.94
7.2.210.0040.01214.86
7.2.200.0040.00715.05
7.2.190.0060.00914.74
7.2.180.0060.01014.94
7.2.170.0070.01015.13
7.2.60.0110.00917.05
7.1.330.0030.01315.75
7.1.320.0030.01315.68
7.1.310.0100.00715.83
7.1.300.0060.01015.80
7.1.290.0130.00315.89
7.1.280.0110.00415.85
7.1.270.0100.01015.73
7.1.260.0040.01216.04
7.1.200.0030.00715.96
7.1.70.0000.00717.42
7.1.60.0200.00719.82
7.1.50.0170.01317.13
7.1.00.0030.07722.68
7.0.200.0000.00816.69
7.0.140.0230.05722.25
7.0.60.1730.06720.30
7.0.50.0070.06018.13
7.0.40.0130.06020.15
7.0.30.0330.05720.19
7.0.20.0130.05720.41
7.0.10.0100.08020.32
7.0.00.0130.08020.21
5.6.280.0070.07321.22
5.6.210.1170.05021.12
5.6.200.0070.08018.45
5.6.190.0070.07320.70
5.6.180.0100.07320.96
5.6.170.0330.07020.87
5.6.160.0030.09720.64
5.6.150.0070.08018.35
5.6.140.0030.04318.42
5.6.130.0030.05018.48
5.6.120.0070.08321.38
5.6.110.0030.09721.29
5.6.100.0100.03721.33
5.6.90.0230.07021.31
5.6.80.0070.08720.54
5.5.350.0000.06320.65
5.5.340.0000.05718.27
5.5.330.0070.08720.66
5.5.320.0270.04020.60
5.5.310.0300.08020.61
5.5.300.0030.05018.22
5.5.290.0130.07718.23
5.5.280.0030.04021.20
5.5.270.0000.04321.19
5.5.260.0100.07021.19
5.5.250.0130.07020.98
5.5.240.0100.06320.29
5.4.450.0330.04319.73
5.4.440.0430.04719.42
5.4.430.0400.03719.69
5.4.420.0230.05019.68
5.4.410.0170.05718.91
5.4.400.0200.05319.02
5.4.390.0230.05018.99
5.4.380.0100.07018.99
5.4.370.0270.05318.90
5.4.360.0270.05318.93
5.4.350.0270.05318.90
5.4.340.0200.06018.93
5.4.320.0040.04112.80
5.4.310.0130.04412.80
5.4.300.0070.03912.80
5.4.290.0080.04112.80
5.4.280.0150.04212.69
5.4.270.0090.04612.69
5.4.260.0040.04212.69
5.4.250.0060.04012.69
5.4.240.0110.04212.69
5.4.230.0070.03812.68
5.4.220.0060.03812.68
5.4.210.0140.04112.68
5.4.200.0100.04012.68
5.4.190.0090.04412.68
5.4.180.0100.03312.68
5.4.170.0060.03912.69
5.4.160.0090.03912.69
5.4.150.0120.03912.68
5.4.140.0080.03712.37
5.4.130.0120.03212.36
5.4.120.0080.03512.31
5.4.110.0080.03412.31
5.4.100.0120.03212.31
5.4.90.0090.03812.31
5.4.80.0090.04112.31
5.4.70.0070.05412.30
5.4.60.0050.04012.30
5.4.50.0050.03712.30
5.4.40.0070.03612.29
5.4.30.0080.03512.29
5.4.20.0060.03712.29
5.4.10.0100.03312.29
5.4.00.0030.04211.78
5.3.290.0090.04513.07
5.3.280.0120.03512.99
5.3.270.0100.04313.00
5.3.260.0080.04013.00
5.3.250.0090.03413.00
5.3.240.0070.03813.00
5.3.230.0100.03612.99
5.3.220.0070.03712.96
5.3.210.0050.04412.96
5.3.200.0090.04012.96
5.3.190.0120.03512.96
5.3.180.0050.03812.95
5.3.170.0060.04012.96
5.3.160.0100.03712.96
5.3.150.0110.03512.96
5.3.140.0130.04212.94
5.3.130.0090.03912.94
5.3.120.0090.04212.94
5.3.110.0060.04012.94
5.3.100.0060.03812.43
5.3.90.0080.03712.41
5.3.80.0090.03612.39
5.3.70.0070.04612.39
5.3.60.0090.03612.38
5.3.50.0050.04312.32
5.3.40.0080.03712.33
5.3.30.0060.03712.29
5.3.20.0050.03912.07
5.3.10.0140.02912.03
5.3.00.0090.03712.02
5.2.170.0080.0309.55
5.2.160.0060.0319.55
5.2.150.0060.0429.55
5.2.140.0080.0299.55
5.2.130.0060.0299.51
5.2.120.0070.0359.50
5.2.110.0120.0289.52
5.2.100.0050.0339.52
5.2.90.0060.0319.52
5.2.80.0060.0329.51
5.2.70.0040.0319.51
5.2.60.0060.0319.45
5.2.50.0100.0279.42
5.2.40.0080.0289.40
5.2.30.0150.0349.38
5.2.20.0100.0369.49
5.2.10.0040.0329.43
5.2.00.0070.0309.28
5.1.60.0030.0328.59
5.1.50.0080.0238.59
5.1.40.0050.0268.57
5.1.30.0060.0308.91
5.1.20.0100.0278.93
5.1.10.0060.0268.62
5.1.00.0060.0258.62
5.0.50.0040.0217.08
5.0.40.0040.0196.94
5.0.30.0020.0336.76
5.0.20.0080.0186.73
5.0.10.0050.0236.71
5.0.00.0040.0306.70
4.4.90.0030.0224.78
4.4.80.0010.0174.76
4.4.70.0010.0184.76
4.4.60.0030.0154.75
4.4.50.0020.0154.77
4.4.40.0030.0244.75
4.4.30.0050.0174.76
4.4.20.0010.0174.84
4.4.10.0010.0214.85
4.4.00.0040.0294.78
4.3.110.0030.0154.69
4.3.100.0010.0214.69
4.3.90.0030.0144.66
4.3.80.0010.0264.66
4.3.70.0030.0144.66
4.3.60.0010.0164.66
4.3.50.0040.0184.66
4.3.40.0020.0294.61
4.3.30.0040.0143.41
4.3.20.0020.0163.39
4.3.10.0020.0153.32
4.3.00.0070.01313.57

preferences:
40.44 ms | 401 KiB | 5 Q