3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = <<<xml <?xml version="1.0" encoding="UTF-8"?> <CWEAI xmlns="http://www.carrierweb.com/Schema/CWEAI_schema_1.0/cwReturnTruckCanbusHistory"> <cwReturnTruckCanbusHistory> <ID>549094411</ID> <CWVehicleID>109755</CWVehicleID> <Odometer>1374031</Odometer> <Fuel>452800</Fuel> <FuelLevel>1000</FuelLevel> </cwReturnTruckCanbusHistory> </CWEAI> xml; $xml = simplexml_load_string($str); $ns = $xml->getNamespaces(true); $xml->registerXPathNamespace('c', current($ns)); $target = $xml->xpath('//c:CWEAI//c:cwReturnTruckCanbusHistory/c:Odometer/text()'); echo $target[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.5.30.0100.00719.85
8.5.20.0110.00920.50
8.5.10.0150.00918.68
8.5.00.0120.00920.28
8.4.180.0150.00720.93
8.4.170.0100.01124.18
8.4.160.0160.00720.12
8.4.150.0100.00316.95
8.4.140.0090.01217.88
8.4.130.0070.00518.13
8.4.120.0130.00824.61
8.4.110.0120.00822.81
8.4.100.0130.00918.74
8.4.90.0100.00719.27
8.4.80.0030.00519.15
8.4.70.0080.00618.21
8.4.60.0140.00818.93
8.4.50.0090.01119.13
8.4.40.0090.01218.13
8.4.30.0100.01019.21
8.4.20.0140.00721.50
8.4.10.0090.00019.76
8.3.300.0120.00823.13
8.3.290.0130.00921.18
8.3.280.0110.00818.83
8.3.270.0130.00716.66
8.3.260.0140.00716.73
8.3.250.0050.00319.09
8.3.240.0120.00717.38
8.3.230.0100.01116.62
8.3.220.0060.00218.98
8.3.210.0130.00516.67
8.3.200.0060.00516.90
8.3.190.0090.01016.87
8.3.180.0110.00416.67
8.3.170.0040.01521.07
8.3.160.0090.00917.38
8.3.150.0160.00017.32
8.3.140.0040.00417.41
8.3.130.0060.00318.54
8.3.120.0000.00919.07
8.3.110.0090.00018.84
8.3.100.0070.00718.43
8.3.90.0070.00726.77
8.3.80.0080.00417.97
8.3.70.0170.00920.64
8.3.60.0100.00018.80
8.3.50.0090.00018.71
8.2.300.0140.00820.69
8.2.290.0110.00621.14
8.2.280.0070.01216.89
8.2.270.0070.01117.64
8.2.260.0090.00918.95
8.2.250.0080.00016.78
8.2.240.0060.00319.12
8.2.230.0080.00020.94
8.2.220.0160.00024.06
8.2.210.0040.00426.77
8.2.200.0030.00618.88
8.2.190.0060.00318.92
8.2.180.0060.00319.04
8.1.340.0110.01021.86
8.1.330.0100.00922.08
8.1.320.0100.00716.68
8.1.310.0070.01019.06
8.1.300.0120.00620.38
8.1.290.0090.00030.84
8.1.280.0060.00318.31

preferences:
53.07 ms | 765 KiB | 5 Q