3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a_xml = <<<XML <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.example.com/v1/services"> <soapenv:Header/> <soapenv:Body> <ser:getAnalyticalDeliveryEstimatesRequest> <ser:buyer> <ser:buyerId>1233</ser:buyerId> <ser:toCountry>IN</ser:toCountry> <ser:toZip>110001</ser:toZip> </ser:buyer> <ser:item> <ser:id>25164</ser:id> <ser:categoryId>15032</ser:categoryId> <ser:seller> <ser:sellerId>11997</ser:sellerId> <ser:fromCountry>IN</ser:fromCountry> </ser:seller> <ser:transactionId>0</ser:transactionId> </ser:item> </ser:getAnalyticalDeliveryEstimatesRequest> </soapenv:Body> </soapenv:Envelope> XML; $xml = simplexml_load_string( $a_xml ); $xml->registerXPathNamespace('soapenv', 'http://schemas.xmlsoap.org/soap/envelope/'); $xml->registerXPathNamespace('ser', 'http://www.example.com/v1/services'); $xpath = $xml->xpath( '//soapenv:Body/ser:getAnalyticalDeliveryEstimatesRequest' ); echo $node->name;

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.00919.06
8.3.50.0170.00322.25
8.3.40.0070.00719.22
8.3.30.0040.01019.46
8.3.20.0040.00420.68
8.3.10.0040.00420.89
8.3.00.0040.00419.51
8.2.180.0110.00417.25
8.2.170.0140.00422.96
8.2.160.0000.01520.90
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00422.65
8.2.110.0090.00019.64
8.2.100.0080.00418.16
8.2.90.0050.00319.46
8.2.80.0040.00417.97
8.2.70.0080.00018.00
8.2.60.0040.00418.30
8.2.50.0030.00618.41
8.2.40.0070.00020.84
8.2.30.0040.00819.61
8.2.20.0080.00018.05
8.2.10.0000.00818.36
8.2.00.0000.00718.23
8.1.280.0060.01325.92
8.1.270.0000.00822.45
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0060.00319.79
8.1.230.0070.00418.27
8.1.220.0000.00818.04
8.1.210.0040.00418.77
8.1.200.0060.00317.60
8.1.190.0040.00417.48
8.1.180.0040.00418.10
8.1.170.0030.00519.21
8.1.160.0040.00419.12
8.1.150.0050.00519.25
8.1.140.0020.00517.73
8.1.130.0000.00718.22
8.1.120.0040.00417.76
8.1.110.0000.00817.59
8.1.100.0030.00517.63
8.1.90.0030.00517.70
8.1.80.0040.00417.64
8.1.70.0000.00717.71
8.1.60.0030.00517.82
8.1.50.0030.00617.64
8.1.40.0030.00617.89
8.1.30.0000.00817.95
8.1.20.0040.00418.00
8.1.10.0000.00817.80
8.1.00.0040.00417.82
8.0.300.0040.00418.77
8.0.290.0000.00817.13
8.0.280.0000.00718.79
8.0.270.0000.00717.61
8.0.260.0000.00917.59
8.0.250.0000.00817.45
8.0.240.0050.00317.40
8.0.230.0040.00417.36
8.0.220.0030.00317.34
8.0.210.0030.00317.28
8.0.200.0000.00717.34
8.0.190.0050.00317.43
8.0.180.0000.00717.17
8.0.170.0000.00817.30
8.0.160.0040.00417.29
8.0.150.0040.00417.05
8.0.140.0080.00017.07
8.0.130.0050.00313.79
8.0.120.0000.00817.31
8.0.110.0000.00717.28
8.0.100.0020.00517.03
8.0.90.0000.00717.26
8.0.80.0100.00717.22
8.0.70.0000.00717.25
8.0.60.0050.00217.16
8.0.50.0030.00517.11
8.0.30.0100.01017.60
8.0.20.0120.00917.40
8.0.10.0040.00417.43
8.0.00.0100.00717.30
7.4.330.0000.00515.54
7.4.320.0030.00316.97
7.4.300.0040.00416.66
7.4.290.0080.00016.84
7.4.280.0070.00316.91
7.4.270.0000.00716.97
7.4.260.0030.00316.88
7.4.250.0030.00616.88
7.4.240.0000.00816.91
7.4.230.0020.00516.94
7.4.220.0100.01016.90
7.4.210.0030.01016.84
7.4.200.0040.00416.71
7.4.160.0120.00416.86
7.4.150.0150.00417.40
7.4.140.0080.01017.86
7.4.130.0070.01016.94
7.4.120.0110.00816.84
7.4.110.0070.01016.88
7.4.100.0070.01017.02
7.4.90.0070.01016.89
7.4.80.0060.01319.39
7.4.70.0140.00716.87
7.4.60.0100.00717.01
7.4.50.0040.00416.87
7.4.40.0160.00016.68
7.4.30.0100.00616.97
7.4.00.0060.00915.30
7.3.330.0000.00713.25
7.3.320.0000.00713.46
7.3.310.0070.00016.65
7.3.300.0030.00316.49
7.3.290.0060.00816.54
7.3.280.0100.00616.63
7.3.270.0100.00617.40
7.3.260.0130.01016.91
7.3.250.0120.00516.50
7.3.240.0070.01116.79
7.3.230.0130.00516.57
7.3.210.0090.00916.74
7.3.200.0080.00819.39
7.3.190.0160.00716.71
7.3.180.0120.00616.68
7.3.170.0070.01016.90
7.3.160.0030.01316.80
7.2.330.0100.01516.66
7.2.320.0130.00416.66
7.2.310.0170.00316.73
7.2.300.0070.01017.10
7.2.290.0050.01417.13
7.2.80.0030.01016.64
7.2.60.0090.00616.88
7.2.00.0030.00719.42
7.1.200.0090.00615.76
7.1.100.0000.01118.25
7.1.70.0080.00017.36
7.1.60.0180.00719.12
7.1.50.0210.01134.98
7.1.00.0030.07322.64
7.0.200.0040.00416.93
7.0.140.0000.07722.27
7.0.60.0070.09720.20
7.0.50.0100.06018.02
7.0.40.0070.08720.48
7.0.30.0330.07320.25
7.0.20.0300.08020.35
7.0.10.0070.04020.29
7.0.00.0030.08320.22
5.6.280.0100.06721.04
5.6.210.0270.06720.65
5.6.200.0070.05018.42
5.6.190.0000.05320.86
5.6.180.0500.05320.78
5.6.170.0430.07320.59
5.6.160.0070.04320.66
5.6.150.0070.08018.42
5.6.140.0000.05318.36
5.6.130.0100.04318.35
5.6.120.0030.04721.04
5.6.110.0170.04721.09
5.6.100.0030.04021.11
5.6.90.0100.04021.14
5.6.80.0030.08020.67
5.5.350.0200.07720.70
5.5.340.0130.06718.17
5.5.330.0170.08020.44
5.5.320.0170.08020.55
5.5.310.0230.08020.38
5.5.300.0070.08018.14
5.5.290.0070.07318.04
5.5.280.0070.03720.95
5.5.270.0030.04720.91
5.5.260.0000.09021.00
5.5.250.0130.05320.81
5.5.240.0100.08320.31
5.4.450.0270.03719.45
5.4.440.0300.04719.69
5.4.430.0370.04319.67
5.4.420.0130.03719.73
5.4.410.0370.05019.48
5.4.400.0070.04719.45
5.4.390.0170.05019.45
5.4.380.0530.06318.94
5.4.370.0530.05018.84
5.4.360.0370.06018.85
5.4.350.0430.04718.92
5.4.340.0330.07018.95
5.4.320.0060.03512.72
5.4.310.0100.03312.72
5.4.300.0070.03412.73
5.4.290.0050.04112.72
5.4.280.0040.03612.62
5.4.270.0060.03512.62
5.4.260.0080.03612.62
5.4.250.0070.03712.62
5.4.240.0080.03412.62
5.4.230.0080.04312.61
5.4.220.0080.03512.61
5.4.210.0120.03512.61
5.4.200.0050.04312.61
5.4.190.0100.03512.61
5.4.180.0110.04812.61
5.4.170.0060.04012.62
5.4.160.0100.03412.61
5.4.150.0040.04712.61
5.4.140.0060.04512.29
5.4.130.0060.05012.29
5.4.120.0090.03512.24
5.4.110.0080.03812.23
5.4.100.0070.04212.24
5.4.90.0060.03812.24
5.4.80.0070.03812.24
5.4.70.0090.05012.23
5.4.60.0090.04812.23
5.4.50.0080.03412.23
5.4.40.0060.03812.22
5.4.30.0030.03912.22
5.4.20.0080.04112.22
5.4.10.0110.03812.22
5.4.00.0080.03411.71
5.3.290.0040.04412.98
5.3.280.0100.03912.91
5.3.270.0070.03912.93
5.3.260.0080.03812.93
5.3.250.0040.04012.93
5.3.240.0060.03812.92
5.3.230.0080.03712.92
5.3.220.0040.04212.89
5.3.210.0070.03812.89
5.3.200.0070.03512.89
5.3.190.0110.03312.89
5.3.180.0050.03812.88
5.3.170.0070.04312.89
5.3.160.0050.03812.88
5.3.150.0080.03512.88
5.3.140.0070.03612.87
5.3.130.0060.04012.87
5.3.120.0050.04112.87
5.3.110.0090.05412.87
5.3.100.0060.03812.36
5.3.90.0050.04512.34
5.3.80.0060.03612.33
5.3.70.0070.03512.33
5.3.60.0080.03412.31
5.3.50.0050.03712.26
5.3.40.0050.03712.26
5.3.30.0090.03212.22
5.3.20.0040.03712.00
5.3.10.0050.03511.96
5.3.00.0070.03411.95
5.2.170.0050.0299.45
5.2.160.0030.0309.45
5.2.150.0060.0299.45
5.2.140.0070.0289.45
5.2.130.0070.0269.41
5.2.120.0060.0279.41
5.2.110.0020.0329.42
5.2.100.0030.0309.41
5.2.90.0090.0259.41
5.2.80.0080.0269.41
5.2.70.0050.0409.41
5.2.60.0030.0329.36
5.2.50.0060.0299.32
5.2.40.0040.0309.30
5.2.30.0040.0309.29
5.2.20.0080.0259.30
5.2.10.0050.0279.22
5.2.00.0070.0279.07
5.1.60.0030.0258.36
5.1.50.0040.0258.36
5.1.40.0030.0268.34
5.1.30.0050.0258.69
5.1.20.0030.0328.70
5.1.10.0020.0308.43
5.1.00.0030.0268.43
5.0.50.0040.0206.82
5.0.40.0040.0186.68
5.0.30.0020.0326.50
5.0.20.0030.0196.47
5.0.10.0030.0196.45
5.0.00.0060.0316.44
4.4.90.0020.0164.77
4.4.80.0030.0174.76
4.4.70.0030.0204.76
4.4.60.0010.0164.75
4.4.50.0020.0164.77
4.4.40.0020.0254.71
4.4.30.0030.0154.76
4.4.20.0030.0154.84
4.4.10.0030.0154.85
4.4.00.0040.0244.76
4.3.110.0030.0154.67
4.3.100.0030.0174.66
4.3.90.0050.0134.63
4.3.80.0020.0244.58
4.3.70.0010.0164.63
4.3.60.0020.0154.62
4.3.50.0030.0154.63
4.3.40.0020.0244.54
4.3.30.0040.0133.31
4.3.20.0020.0153.29
4.3.10.0010.0163.24
4.3.00.0000.01319.45

preferences:
44.35 ms | 401 KiB | 5 Q