3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><Body><Response TID="c4ed40a4-8e91-46ee-b571-9ace4c47f642" xmlns:ns="http://wsg.avis.com/wsbang"><OTA_VehResRS xsi:schemaLocation="http://www.opentravel.org/OTA/2008/05 OTA_VehResRS" EchoToken="CT" Target="Production" Version="1.0" SequenceNmbr="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opentravel.org/OTA/2003/05"><Success/><VehResRSCore><VehReservation><VehSegmentCore><Vendor>Budget</Vendor></VehSegmentCore></VehReservation></VehResRSCore><Errors><Error Type="3" ShortText="30212 BizRule">Invalid Value for payment amount</Error></Errors></OTA_VehResRS><!-- Processed by Direct Connect ver. 12.0 build 0 --></Response></Body></Envelope>'; $objXml = simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA); var_dump($objXml); var_dump($objXml->Errors);

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.0160.00618.68
8.3.50.0100.00719.77
8.3.40.0150.00018.97
8.3.30.0070.00718.84
8.3.20.0080.00022.16
8.3.10.0080.00023.83
8.3.00.0030.00522.15
8.2.180.0180.00016.88
8.2.170.0090.00622.96
8.2.160.0060.00918.98
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00419.64
8.2.120.0080.00026.35
8.2.110.0070.00321.11
8.2.100.0060.00618.03
8.2.90.0000.00819.33
8.2.80.0050.00319.63
8.2.70.0050.00317.75
8.2.60.0070.00318.05
8.2.50.0050.00318.22
8.2.40.0080.00020.81
8.2.30.0040.00419.44
8.2.20.0000.00818.11
8.2.10.0040.00418.23
8.2.00.0000.00718.41
8.1.280.0090.00625.92
8.1.270.0000.00824.15
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0030.01020.73
8.1.230.0080.00317.95
8.1.220.0030.00517.91
8.1.210.0080.00018.77
8.1.200.0000.00817.48
8.1.190.0000.00917.48
8.1.180.0040.00418.10
8.1.170.0080.00018.84
8.1.160.0070.00018.99
8.1.150.0040.00419.04
8.1.140.0070.00019.26
8.1.130.0000.00717.75
8.1.120.0040.00417.48
8.1.110.0040.00417.50
8.1.100.0040.00417.69
8.1.90.0050.00517.52
8.1.80.0000.00817.52
8.1.70.0040.00417.50
8.1.60.0030.00617.77
8.1.50.0000.00817.76
8.1.40.0030.00617.59
8.1.30.0040.00417.91
8.1.20.0090.00017.88
8.1.10.0030.00517.76
8.1.00.0040.00417.48
8.0.300.0000.00818.77
8.0.290.0040.00416.88
8.0.280.0030.00318.50
8.0.270.0050.00317.41
8.0.260.0070.00017.30
8.0.250.0000.00717.16
8.0.240.0040.00416.98
8.0.230.0070.00017.04
8.0.220.0000.00717.09
8.0.210.0030.00317.00
8.0.200.0030.00317.18
8.0.190.0060.00317.14
8.0.180.0040.00616.88
8.0.170.0080.00017.16
8.0.160.0070.00016.97
8.0.150.0040.00417.04
8.0.140.0040.00416.84
8.0.130.0030.00313.43
8.0.120.0000.00716.90
8.0.110.0000.00817.01
8.0.100.0000.00716.90
8.0.90.0030.00616.89
8.0.80.0030.01417.00
8.0.70.0060.00317.09
8.0.60.0000.00816.94
8.0.50.0060.00316.93
8.0.30.0110.00817.19
8.0.20.0130.01517.40
8.0.10.0050.00217.19
8.0.00.0080.01116.84
7.4.330.0000.00615.55
7.4.320.0060.00016.73
7.4.300.0030.00316.66
7.4.290.0070.00016.75
7.4.280.0050.00316.74
7.4.270.0060.00316.71
7.4.260.0030.00716.70
7.4.250.0000.00716.65
7.4.240.0040.00416.64
7.4.230.0070.00016.77
7.4.220.0040.00416.66
7.4.210.0060.01216.79
7.4.200.0070.00016.86
7.4.160.0100.00716.68
7.4.150.0110.01117.40
7.4.140.0120.00817.86
7.4.130.0130.01016.57
7.4.120.0110.01316.69
7.4.110.0140.00316.55
7.4.100.0060.01216.56
7.4.90.0070.01116.37
7.4.80.0150.00319.39
7.4.70.0110.01116.64
7.4.60.0090.01216.72
7.4.50.0080.01116.63
7.4.40.0090.01116.63
7.4.10.0030.01214.99
7.4.00.0030.01515.01
7.3.330.0050.00013.27
7.3.320.0060.00013.23
7.3.310.0030.00316.46
7.3.300.0060.00016.21
7.3.290.0090.00716.40
7.3.280.0070.01316.32
7.3.270.0070.01417.40
7.3.260.0140.00616.39
7.3.250.0170.00416.34
7.3.240.0060.01316.53
7.3.230.0120.00616.63
7.3.210.0150.00316.40
7.3.200.0140.00816.43
7.3.190.0060.01316.42
7.3.180.0140.00316.35
7.3.170.0120.00616.34
7.3.160.0030.01216.77
7.3.130.0070.01114.87
7.3.120.0050.01414.70
7.3.110.0080.01014.62
7.3.100.0030.01414.99
7.3.90.0030.01114.69
7.3.80.0050.00814.96
7.3.70.0070.00514.67
7.3.60.0080.00614.67
7.3.50.0060.00514.77
7.3.40.0050.00814.63
7.3.30.0080.00714.74
7.3.20.0060.01016.71
7.3.10.0050.01116.62
7.3.00.0100.00416.70
7.2.330.0190.00016.90
7.2.320.0130.00616.81
7.2.310.0130.00416.74
7.2.300.0070.01016.39
7.2.290.0100.00716.63
7.2.260.0040.01014.96
7.2.250.0030.01615.07
7.2.240.0110.00714.81
7.2.230.0030.01215.13
7.2.220.0060.00615.04
7.2.210.0020.01315.04
7.2.200.0040.00815.12
7.2.190.0020.01414.91
7.2.180.0050.01115.05
7.2.170.0060.00715.05
7.2.160.0030.00815.16
7.2.150.0080.00717.04
7.2.140.0060.01216.92
7.2.130.0060.00816.65
7.2.120.0030.01116.99
7.2.110.0030.01217.04
7.2.100.0700.00616.20
7.2.90.0090.00616.17
7.2.80.0120.00916.09
7.2.70.0140.00516.37
7.2.60.0200.00816.42
7.2.50.0260.01016.16
7.2.40.0120.00816.25
7.2.30.0620.00716.28
7.2.20.0330.00916.24
7.2.10.0070.00816.29
7.2.00.1250.00616.95
7.1.330.0050.01215.92
7.1.320.0080.00815.71
7.1.310.0080.00315.88
7.1.300.0030.01015.97
7.1.290.0080.00415.79
7.1.280.0060.00815.76
7.1.270.0050.00815.92
7.1.260.0030.01215.81
7.1.250.0020.00915.99
7.1.240.0110.00615.74
7.1.230.0030.00915.91
7.1.220.0150.01015.17
7.1.210.1340.00815.17
7.1.200.0130.01315.39
7.1.190.0110.00415.25
7.1.180.0090.01015.18
7.1.170.0090.00815.28
7.1.160.0080.00615.13
7.1.150.0770.00715.15
7.1.140.0060.00915.26
7.1.130.0150.00515.15
7.1.120.1120.01015.94
7.1.110.1050.01015.92
7.1.100.1260.00915.79
7.1.90.0100.00715.91
7.1.80.0210.00815.79
7.1.70.0080.00515.75
7.1.60.0210.00824.70
7.1.50.0140.01224.69
7.1.40.0520.01024.05
7.1.30.0180.01124.43
7.1.20.0150.01024.61
7.1.10.0110.01115.63
7.1.00.0070.00515.59
7.0.330.0030.01015.36
7.0.320.0050.00515.62
7.0.310.0050.00715.35
7.0.300.0070.00815.51
7.0.290.0050.00815.56
7.0.280.0030.01215.48
7.0.270.0030.00915.47
7.0.260.0020.01115.48
7.0.250.0050.00915.52
7.0.240.0050.00815.63
7.0.230.0080.00615.35
7.0.220.0050.00915.53
7.0.210.0080.00515.58
7.0.200.0050.01015.62
7.0.190.0030.01315.48
7.0.180.0020.01215.52
7.0.170.0070.00815.58
7.0.160.0020.00915.43
7.0.150.0060.00815.57
7.0.140.0070.00615.58
7.0.130.0090.00515.51
7.0.120.0070.00715.42
7.0.110.0080.00715.54
7.0.100.0050.00815.60
7.0.90.0030.01015.38
7.0.80.0070.00715.49
7.0.70.0080.00715.67
7.0.60.0040.01115.58
7.0.50.0050.00515.66
7.0.40.0080.00513.54
7.0.30.0040.00713.54
7.0.20.0060.00613.42
7.0.10.0050.00813.66
7.0.00.0030.01213.60
5.6.400.0070.00714.18
5.6.390.0100.00314.42
5.6.380.0060.00814.07
5.6.370.0040.00614.51
5.6.360.0050.00714.29
5.6.350.0040.01014.35
5.6.340.0060.00614.28
5.6.330.0030.00814.27
5.6.320.0020.01014.33
5.6.310.0070.00614.38
5.6.300.0060.01014.27
5.6.290.0090.00714.14
5.6.280.0070.00814.29
5.6.270.0070.00714.41
5.6.260.0050.00614.42
5.6.250.0100.00314.54
5.6.240.0090.00514.17
5.6.230.0070.01214.15
5.6.220.0040.00914.33
5.6.210.0020.01014.31
5.6.200.0000.01114.24
5.6.190.0030.00914.23
5.6.180.0080.00514.45
5.6.170.0030.00914.30
5.6.160.0060.00614.23
5.6.150.0070.00514.20
5.6.140.0090.00614.21
5.6.130.0030.01214.30
5.6.120.0040.00614.14
5.6.110.0040.00914.11
5.6.100.0070.00714.18
5.6.90.0060.01014.25
5.6.80.0030.00914.13
5.6.70.0050.00814.19
5.6.60.0030.01314.45
5.6.50.0080.00514.17
5.6.40.0060.01114.04
5.6.30.0060.00714.18
5.6.20.0080.00814.23
5.6.10.0120.00614.25
5.6.00.0040.01314.43

preferences:
65.55 ms | 400 KiB | 5 Q