3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new SimpleXMLElement("<response type='5'> <body order_code='9ee56c2e5-de9b-4d13-a2bd-4175c6f43b97' pay_summ='166.37' comiss='7.16' comiss_descr='Комиссия банка: 3 грн + 2,5% от стоимости билета. Сервисный сбор РЦ Министерства транспорта и связи Укр - 18 грн' total_summ='173.53'> <trip-segment ticket='21П-Н1-1847975-1906' creation_time='19.06.2013 08:57:28' num='1' tot_price='166.37' transporte_type='2' tax='3.00'> <places> <place car_num='15' car_type='1040' loc_num='06' /> </places> </trip-segment> </body> </response>"); var_dump($xml->body->@attributes);

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)
5.4.170.0130.04019.15
5.4.160.0030.04018.83
5.4.150.0000.08019.13
5.4.140.0070.05016.42
5.4.130.0070.05316.39
5.4.120.0030.06016.29
5.4.110.0070.06316.53
5.4.100.0070.06716.43
5.4.90.0070.04716.47
5.4.80.0000.06016.52
5.4.70.0070.03316.41
5.4.60.0130.06716.41
5.4.50.0170.05716.27
5.4.40.0130.03716.41
5.4.30.0070.04716.46
5.4.20.0070.07016.25
5.4.10.0030.04716.27
5.4.00.0070.04315.76
5.3.260.0070.03714.60
5.3.250.0130.03714.53
5.3.240.0130.06314.53
5.3.230.0070.05314.48
5.3.220.0030.03714.51
5.3.210.0070.08014.49
5.3.200.0130.06714.50
5.3.190.0030.06714.50
5.3.180.0030.06014.49
5.3.170.0030.05714.48
5.3.160.0070.08014.57
5.3.150.0030.05014.51
5.3.140.0030.05314.48
5.3.130.0100.03314.37
5.3.120.0070.03714.37
5.3.110.0000.06314.52
5.3.100.0030.04713.97
5.3.90.0230.04014.00
5.3.80.0070.03713.95
5.3.70.0030.03714.11
5.3.60.0030.04713.93
5.3.50.0000.05013.79
5.3.40.0030.07713.77
5.3.30.0030.06013.92
5.3.20.0030.03713.50
5.3.10.0070.06013.61
5.3.00.0100.04013.46

preferences:
168.05 ms | 1394 KiB | 7 Q