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]->asXML());

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.0120.00918.81
8.3.50.0230.00522.12
8.3.40.0190.00319.17
8.3.30.0090.00619.45
8.3.20.0080.00020.85
8.3.10.0080.00022.47
8.3.00.0000.00822.89
8.2.180.0140.00717.00
8.2.170.0070.01422.96
8.2.160.0150.00421.43
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00919.61
8.2.110.0030.00619.61
8.2.100.0000.01218.22
8.2.90.0040.00419.59
8.2.80.0060.00318.00
8.2.70.0000.00919.73
8.2.60.0000.00818.40
8.2.50.0050.00318.10
8.2.40.0000.00721.05
8.2.30.0040.00418.65
8.2.20.0050.00318.03
8.2.10.0080.00019.84
8.2.00.0000.00818.21
8.1.280.0120.00625.92
8.1.270.0030.00524.41
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0050.00524.34
8.1.230.0040.00818.21
8.1.220.0040.00417.93
8.1.210.0030.00518.77
8.1.200.0060.00617.72
8.1.190.0060.00317.60
8.1.180.0030.00518.10
8.1.170.0030.00518.90
8.1.160.0030.00622.53
8.1.150.0060.00319.01
8.1.140.0060.00317.86
8.1.130.0070.00018.28
8.1.120.0000.00717.75
8.1.110.0070.00317.88
8.1.100.0000.00717.90
8.1.90.0000.00817.71
8.1.80.0080.00017.89
8.1.70.0040.00417.89
8.1.60.0040.00417.94
8.1.50.0050.00317.84
8.1.40.0000.00817.98
8.1.30.0060.00318.03
8.1.20.0040.00418.13
8.1.10.0050.00318.01
8.1.00.0040.00417.95
8.0.300.0040.00418.77
8.0.290.0000.00717.13
8.0.280.0000.00718.78
8.0.270.0040.00417.66
8.0.260.0000.00717.24
8.0.250.0070.00017.31
8.0.240.0090.00017.36
8.0.230.0070.00017.38
8.0.220.0000.00717.29
8.0.210.0000.00717.26
8.0.200.0030.00317.29
8.0.190.0000.01017.25
8.0.180.0040.00417.45
8.0.170.0080.00017.46
8.0.160.0060.00317.47
8.0.150.0040.00417.19
8.0.140.0020.00517.14
8.0.130.0030.00313.87
8.0.120.0040.00417.27
8.0.110.0040.00417.39
8.0.100.0000.00717.27
8.0.90.0030.00517.23
8.0.80.0110.01117.33
8.0.70.0040.00417.37
8.0.60.0060.00317.29
8.0.50.0040.00417.11
8.0.30.0190.00717.66
8.0.20.0110.00717.46
8.0.10.0000.00717.30
8.0.00.0110.00817.26
7.4.330.0030.00315.39
7.4.320.0030.00316.99
7.4.300.0070.00016.96
7.4.290.0070.00016.74
7.4.280.0080.00016.81
7.4.270.0060.00316.95
7.4.260.0040.00416.98
7.4.250.0000.00716.83
7.4.240.0070.00016.94
7.4.230.0000.00716.99
7.4.220.0070.02816.95
7.4.210.0060.01016.96
7.4.200.0040.00416.82
7.4.190.0000.00716.80
7.4.160.0060.01616.94
7.4.150.0090.01617.40
7.4.140.0100.01217.86
7.4.130.0100.01317.09
7.4.120.0130.00416.92
7.4.110.0070.01016.90
7.4.100.0060.01517.06
7.4.90.0030.01516.86
7.4.80.0100.01016.98
7.4.70.0030.01516.74
7.4.60.0090.00917.00
7.4.50.0070.00416.81
7.4.40.0030.01322.77
7.4.30.0030.01517.13
7.4.00.0030.01315.07
7.3.330.0030.00313.64
7.3.320.0060.00013.59
7.3.310.0040.00416.48
7.3.300.0050.00216.65
7.3.290.0070.00716.79
7.3.280.0110.00716.67
7.3.270.0200.00317.40
7.3.260.0200.00316.86
7.3.250.0090.01316.67
7.3.240.0170.00016.87
7.3.230.0060.01116.88
7.3.210.0030.01916.93
7.3.200.0120.00619.39
7.3.190.0060.01516.80
7.3.180.0000.01916.93
7.3.170.0090.00916.84
7.3.160.0060.01016.87
7.3.120.0070.01115.14
7.3.00.0090.00616.92
7.2.330.0170.00617.04
7.2.320.0090.00917.27
7.2.310.0060.01717.07
7.2.300.0090.00917.14
7.2.290.0140.00616.79
7.2.130.0040.01116.93
7.2.120.0060.00916.87
7.2.110.0060.00917.04
7.2.100.0070.00717.01
7.2.90.0070.00717.29
7.2.80.0070.00717.08
7.2.70.0040.00717.42
7.2.60.0530.00916.09
7.2.50.0030.01216.79
7.2.40.0090.00616.95
7.2.30.0070.00717.00
7.2.20.0070.01016.92
7.2.10.0060.00916.96
7.2.00.0100.01018.28
7.1.250.0040.01116.04
7.1.240.0000.01316.05
7.1.230.0100.00316.12
7.1.220.0110.00316.09
7.1.210.0080.00815.86
7.1.200.0080.00416.03
7.1.190.0000.01115.74
7.1.180.0060.00316.05
7.1.170.0030.01015.98
7.1.160.0070.00716.01
7.1.150.0060.00916.13
7.1.140.0120.00315.90
7.1.130.0040.01116.05
7.1.120.0060.00615.86
7.1.110.0070.00716.20
7.1.100.0380.00816.01
7.1.90.0040.01115.99
7.1.80.0100.00315.85
7.1.70.0070.00316.64
7.1.60.0030.00816.70
7.1.50.0110.00716.63
7.1.40.0040.00416.17
7.1.30.0060.00316.07
7.1.20.0030.01015.81
7.1.10.0100.00616.07
7.1.00.0070.03919.24
7.0.330.0030.00615.52
7.0.320.0100.00015.38
7.0.310.0080.00415.66
7.0.300.0070.00715.68
7.0.290.0000.01515.60
7.0.280.0070.01015.60
7.0.270.0100.00315.54
7.0.260.0090.00315.52
7.0.250.0130.00315.50
7.0.240.0000.01515.63
7.0.230.0090.00615.79
7.0.220.0030.00515.47
7.0.210.0110.00015.82
7.0.200.0060.00816.32
7.0.190.0080.00615.52
7.0.180.0000.01015.96
7.0.170.0070.00715.63
7.0.160.0060.00915.60
7.0.150.0000.01115.40
7.0.140.0050.04018.93
7.0.130.0040.00715.69
7.0.120.0000.01515.77
7.0.110.0090.00615.64
7.0.100.0040.00715.75
7.0.90.0060.00915.61
7.0.80.0030.01015.55
7.0.70.0060.00615.62
7.0.60.0980.03017.82
7.0.50.0030.04716.94
7.0.40.0070.03017.05
7.0.30.0150.02316.99
7.0.20.0140.03816.90
7.0.10.0170.03117.11
7.0.00.0060.02117.15
5.6.380.0070.00714.85
5.6.370.0030.01314.38
5.6.360.0110.00314.23
5.6.350.0060.00814.61
5.6.340.0000.01414.72
5.6.330.0030.00914.61
5.6.320.0060.00714.55
5.6.310.0060.00914.54
5.6.300.0000.01314.56
5.6.290.0080.00414.70
5.6.280.0040.04217.93
5.6.270.0090.00614.36
5.6.260.0110.00314.27
5.6.250.0100.00314.62
5.6.240.0070.01014.88
5.6.230.0030.01014.58
5.6.220.0080.00414.75
5.6.210.0620.03517.63
5.6.200.0070.04516.53
5.6.190.0110.02717.91
5.6.180.2120.02717.76
5.6.170.0150.04017.50
5.6.160.0050.03217.52
5.6.150.0100.04216.41
5.6.140.0050.04516.31
5.6.130.0070.04216.49
5.6.120.0080.04517.93
5.6.110.0080.04518.13
5.6.100.0120.02017.84
5.6.90.0080.04317.98
5.6.80.0110.04017.54
5.6.70.2270.02217.76
5.6.60.0090.00614.42
5.6.50.0030.00714.36
5.6.40.0040.01114.43
5.6.30.0030.01014.34
5.6.20.0090.00614.38
5.6.10.0060.00614.66
5.6.00.0080.00814.24
5.5.380.0030.00611.34
5.5.370.0030.00911.46
5.5.360.0030.00711.32
5.5.350.0040.04316.06
5.5.340.0070.02814.83
5.5.330.0030.02515.95
5.5.320.0230.04115.83
5.5.310.0060.03315.96
5.5.300.0030.02814.84
5.5.290.0070.04214.66
5.5.280.0090.03216.12
5.5.270.0080.04316.06
5.5.260.0050.04216.26
5.5.250.0050.03816.07
5.5.240.0060.02015.80
5.5.230.0030.00911.17
5.5.220.0040.00411.07
5.5.210.0050.00511.10
5.5.200.0030.00611.11
5.5.190.0060.00610.89
5.5.180.0000.00811.14
5.5.170.0030.00311.36
5.5.160.0040.00411.06
5.5.150.0040.00410.81
5.5.140.0030.00711.27
5.5.130.0030.00311.06
5.5.120.0030.00611.06
5.5.110.0060.00311.04
5.5.100.0030.00911.20
5.5.90.0040.00711.29
5.5.80.0030.00711.06
5.5.70.0000.00611.17
5.5.60.0070.00411.03
5.5.50.0040.00711.29
5.5.40.0050.00510.81
5.5.30.0000.01110.91
5.5.20.0040.00811.29
5.5.10.0030.00711.11
5.5.00.0060.00611.18
5.4.450.0230.02115.52
5.4.440.0370.03015.35
5.4.430.0270.02415.29
5.4.420.0120.03015.39
5.4.410.0100.03915.05
5.4.400.0080.02514.96
5.4.390.0070.04315.00
5.4.380.0070.03614.96
5.4.370.0100.02814.97
5.4.360.0160.02315.03
5.4.350.0110.02615.08
5.4.340.0150.03815.01
5.4.330.0060.00611.24
5.4.320.0080.02511.99
5.4.310.0060.02211.96
5.4.300.0080.01811.93
5.4.290.0080.02111.92
5.4.280.0090.01911.95
5.4.270.0040.02611.88
5.4.260.0040.02311.99
5.4.250.0040.02412.05
5.4.240.0050.02311.90
5.4.230.0060.02411.88
5.4.220.0060.02011.86
5.4.210.0060.02211.91
5.4.200.0060.02211.92
5.4.190.0080.02111.92
5.4.180.0070.02011.98
5.4.170.0080.02011.85
5.4.160.0070.01811.85
5.4.150.0060.02111.94
5.4.140.0060.02111.79
5.4.130.0050.01911.74
5.4.120.0020.02511.68
5.4.110.0070.02111.71
5.4.100.0020.02411.88
5.4.90.0040.02411.83
5.4.80.0040.02511.75
5.4.70.0050.02211.71
5.4.60.0040.02411.68
5.4.50.0060.02311.77
5.4.40.0040.02111.75
5.4.30.0050.02311.73
5.4.20.0060.02311.72
5.4.10.0050.02411.73
5.4.00.0070.01911.55
5.3.290.0070.02111.53
5.3.280.0060.02211.48
5.3.270.0050.02411.49
5.3.260.0050.02211.49
5.3.250.0070.01811.51
5.3.240.0030.02311.48
5.3.230.0040.02311.48
5.3.220.0050.02311.47
5.3.210.0040.02211.47
5.3.200.0050.02111.47
5.3.190.0080.01911.46
5.3.180.0040.02211.51
5.3.170.0040.02211.48
5.3.160.0040.02311.49
5.3.150.0040.02211.46
5.3.140.0070.02111.46
5.3.130.0060.02811.46
5.3.120.0050.02211.46
5.3.110.0040.02311.46
5.3.100.0050.02111.22
5.3.90.0060.01911.18
5.3.80.0060.02211.16
5.3.70.0040.02211.16
5.3.60.0070.02011.16
5.3.50.0020.02411.13
5.3.40.0070.02011.13
5.3.30.0060.02111.10
5.3.20.0060.02010.98
5.3.10.0040.02110.96
5.3.00.0070.01910.96
5.2.170.0030.0189.71
5.2.160.0020.0179.71
5.2.150.0040.0169.71
5.2.140.0060.0179.71
5.2.130.0060.0169.69
5.2.120.0060.0179.69
5.2.110.0040.0169.69
5.2.100.0040.0179.69
5.2.90.0030.0179.69
5.2.80.0040.0189.69
5.2.70.0050.0179.68
5.2.60.0040.0189.66
5.2.50.0040.0179.65
5.2.40.0050.0179.63
5.2.30.0040.0189.62
5.2.20.0040.0169.68
5.2.10.0020.0169.64
5.2.00.0040.0199.57
5.1.60.0030.0159.22
5.1.50.0050.0149.22
5.1.40.0040.0149.21
5.1.30.0050.0169.39
5.1.20.0050.0149.40
5.1.10.0030.0179.26
5.1.00.0010.0189.26
5.0.50.0030.0128.50
5.0.40.0040.0118.43
5.0.30.0040.0178.34
5.0.20.0020.0108.32
5.0.10.0070.0098.31
5.0.00.0020.0178.30
4.4.90.0040.0097.52
4.4.80.0030.0127.50
4.4.70.0020.0127.50
4.4.60.0020.0097.51
4.4.50.0010.0107.51
4.4.40.0010.0177.50
4.4.30.0020.0117.51
4.4.20.0050.0087.55
4.4.10.0020.0107.55
4.4.00.0040.0137.52
4.3.110.0030.0107.47
4.3.100.0020.0117.47
4.3.90.0040.0087.46
4.3.80.0030.0137.46
4.3.70.0020.0107.46
4.3.60.0040.0087.46
4.3.50.0040.0087.46
4.3.40.0030.0147.44
4.3.30.0030.0096.84
4.3.20.0010.0106.83
4.3.10.0040.0096.79
4.3.00.0050.00811.67

preferences:
50.9 ms | 401 KiB | 5 Q