3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = simplexml_load_file("http://affiliate.dovolena.cz/xml_hotels.php?affiliate=1338&key=ba154bbabc8357b3d9d3a16d39472b9bf5815f5e&cid=7240); foreach($xml->items->item as $item){ $attr = $item->attributes(); echo "Kód|".$attr['code']."|název|".$attr['name']."|"; if (isset($item->descriptions)) { foreach($item->descriptions->description as $hodnota) { echo "title|".$hodnota['title']."|order|".$hodnota['order']."|".$hodnota."|<br>"; } } echo "<hr>"; } ?>

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.370.0030.06318.74
5.4.360.0270.04018.46
5.4.350.0130.05318.56
5.4.340.0170.04718.83
5.4.320.0200.04718.52
5.4.310.0230.04018.55
5.4.300.0170.04718.62
5.4.290.0100.05318.74
5.4.280.0170.04718.46
5.4.270.0170.05318.60
5.4.260.0200.05018.48
5.4.250.0170.05318.74
5.4.240.0100.06018.76
5.4.230.0170.05018.61
5.4.220.0200.04718.77
5.4.210.0130.05318.71
5.4.200.0170.05016.51
5.4.190.0230.04318.73
5.4.180.0230.04318.56
5.4.170.0100.06018.77
5.4.160.0130.05318.45
5.4.150.0130.05318.74
5.4.140.0130.05316.26
5.4.130.0100.05016.25
5.4.120.0170.04716.16
5.4.110.0200.04016.25
5.4.100.0170.05016.20
5.4.90.0170.04716.23
5.4.80.0070.05716.25
5.4.70.0130.05316.38
5.4.60.0330.04716.11
5.4.50.0130.04716.19
5.4.40.0170.04716.12
5.4.30.0130.05016.24
5.4.20.0130.05016.27
5.4.10.0130.05016.18
5.4.00.0130.05015.72
5.3.290.0100.05714.64
5.3.280.0100.05314.63
5.3.270.0130.05314.53
5.3.260.0230.04714.59
5.3.250.0130.05014.58
5.3.240.0130.05314.63
5.3.230.0070.05714.47
5.3.220.0130.05014.52
5.3.210.0170.05014.64
5.3.200.0130.05014.54
5.3.190.0130.05314.62
5.3.180.0200.04314.64
5.3.170.0130.05014.48
5.3.160.0230.04014.60
5.3.150.0270.04014.52
5.3.140.0230.04314.45
5.3.130.0130.05314.61
5.3.120.0170.05014.57
5.3.110.0130.05314.44
5.3.100.0130.05014.06
5.3.90.0170.05014.02
5.3.80.0130.05013.96
5.3.70.0200.04313.93
5.3.60.0100.05313.98
5.3.50.0170.04713.93
5.3.40.0130.05013.92
5.3.30.0070.06313.91
5.3.20.0100.05013.77
5.3.10.0170.06013.59
5.3.00.0070.05713.52
5.2.170.0070.04311.18
5.2.160.0030.04711.09
5.2.150.0030.05311.14
5.2.140.0100.04311.28
5.2.130.0130.03711.01
5.2.120.0100.04011.01
5.2.110.0030.04711.13
5.2.100.0100.04011.14
5.2.90.0100.04011.09
5.2.80.0070.04711.04
5.2.70.0170.03711.00
5.2.60.0070.04711.19
5.2.50.0100.04011.14
5.2.40.0070.04010.93
5.2.30.0030.04711.00
5.2.20.0070.04310.98
5.2.10.0100.03710.95
5.2.00.0100.04310.77
5.1.60.0170.0279.98
5.1.50.0170.02710.09
5.1.40.0170.0309.96
5.1.30.0170.03010.34
5.1.20.0070.04010.40
5.1.10.0130.03010.10
5.1.00.0100.03710.10
5.0.50.0070.0278.58
5.0.40.0070.0278.39
5.0.30.0070.0408.18
5.0.20.0170.0178.21
5.0.10.0030.0308.23
5.0.00.0030.0478.35
4.4.90.0000.0275.93
4.4.80.0100.0175.90
4.4.70.0100.0175.79
4.4.60.0130.0135.90
4.4.50.0070.0205.92
4.4.40.0000.0405.84
4.4.30.0000.0305.84
4.4.20.0070.0235.93
4.4.10.0030.0235.86
4.4.00.0070.0335.88
4.3.110.0030.0235.86
4.3.100.0030.0235.85
4.3.90.0100.0175.80
4.3.80.0070.0305.82
4.3.70.0070.0175.79
4.3.60.0030.0205.81
4.3.50.0030.0235.76
4.3.40.0100.0275.76
4.3.30.0000.0234.59
4.3.20.0100.0174.62
4.3.10.0000.0234.51
4.3.00.0030.0237.10

preferences:
144.91 ms | 1394 KiB | 7 Q