3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $xml = '<?xml version="1.0" encoding="UTF-8"?> <FetchTokenResponse xmlns="urn:ebay:apis:eBLBaseComponents"><Timestamp>2014-09-16T14:36:09.411Z</Timestamp><Ack>Success</Ack><Version>885</Version><Build>E885_INTL_APISIGNIN_16966373_R1</Build><eBayAuthToken>AgAAAA**AQAAAA**aAAAAA**2EoYVA**nY+sHZ2PrBmdj6wVnY+sEZ2PrA2dj6AEkIKiDpaAqQ2dj6x9nY+seQ**TT4CAA**AAMAAA**h0v4qiK22ataNSbyFZU5gSKlEf/475jWAFvPYmvRnui+x7cemSCFEwrj6NLskpG1FzqxJcQfFUMFRi6RuOtAdvtPnm2p7uScqWZUw/xLrg3JqUEAjyfuGp1dNrkIFg4jTriHYMX7yKfhm1xFGRVRlZHb/X/d85PvHJAJA9dK9KuQBJras5My+i6HshnixZWGPMAXExEjJcs8zQL4o1AqZkWCqSB/3I65USo5+4vYNFMqdV8w4wltjwavi1BmkssaVhPTuhuNBbDvCA10hN7raqmGAKdFY/HJupizBCDoBTvCYGu4dTP43LPLNPqXgC/is4+T9OXwMxeJVwaj/eoBa3rQo/7ZKbeRDzAuDqI6MLZY+TWydQDvvJhhOLr4kyRhQZiZABWeYcAUGL1k+9GxSYcm4PWB6TCPal1iLrY7JqM77ByxnclS842u7ghNqhmS4M9nxte/4lde583Ypx/6KM1AHqEkXHb27jj8hqNbyVT3b7PQgYwzBADcV94Pf/bWbMlmvsqD76tRx4MNevyx2zgTJPDZCqDOo2/tiXl5wQEdvQdiqMFx2LRs2W6qwLGlVoNjhJbhwGvG3eOCRbDM7jP2uyt80dZ9nel/Y3AqWYRYGl68DcbLq/r2M1JcqT6KSRwQrSRjHy2NmeF0zZmXsJdlJSNqa2dpPgwtMEmICcZxfFN+Kg7UubaWVJAHqyUswE/5XPj204KiIZ7hIsqDGeKz1ixHvKjlEC0WHx6Jo0R+WGUUf54+ESJOiUbKBsRT</eBayAuthToken><HardExpirationTime>2016-03-09T14:36:08.000Z</HardExpirationTime></FetchTokenResponse>'; var_dump(simplexml_load_string($xml)); var_dump(simplexml_load_string(simplexml_load_string($xml)));
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
object(SimpleXMLElement)#1 (6) { ["Timestamp"]=> string(24) "2014-09-16T14:36:09.411Z" ["Ack"]=> string(7) "Success" ["Version"]=> string(3) "885" ["Build"]=> string(31) "E885_INTL_APISIGNIN_16966373_R1" ["eBayAuthToken"]=> string(872) "AgAAAA**AQAAAA**aAAAAA**2EoYVA**nY+sHZ2PrBmdj6wVnY+sEZ2PrA2dj6AEkIKiDpaAqQ2dj6x9nY+seQ**TT4CAA**AAMAAA**h0v4qiK22ataNSbyFZU5gSKlEf/475jWAFvPYmvRnui+x7cemSCFEwrj6NLskpG1FzqxJcQfFUMFRi6RuOtAdvtPnm2p7uScqWZUw/xLrg3JqUEAjyfuGp1dNrkIFg4jTriHYMX7yKfhm1xFGRVRlZHb/X/d85PvHJAJA9dK9KuQBJras5My+i6HshnixZWGPMAXExEjJcs8zQL4o1AqZkWCqSB/3I65USo5+4vYNFMqdV8w4wltjwavi1BmkssaVhPTuhuNBbDvCA10hN7raqmGAKdFY/HJupizBCDoBTvCYGu4dTP43LPLNPqXgC/is4+T9OXwMxeJVwaj/eoBa3rQo/7ZKbeRDzAuDqI6MLZY+TWydQDvvJhhOLr4kyRhQZiZABWeYcAUGL1k+9GxSYcm4PWB6TCPal1iLrY7JqM77ByxnclS842u7ghNqhmS4M9nxte/4lde583Ypx/6KM1AHqEkXHb27jj8hqNbyVT3b7PQgYwzBADcV94Pf/bWbMlmvsqD76tRx4MNevyx2zgTJPDZCqDOo2/tiXl5wQEdvQdiqMFx2LRs2W6qwLGlVoNjhJbhwGvG3eOCRbDM7jP2uyt80dZ9nel/Y3AqWYRYGl68DcbLq/r2M1JcqT6KSRwQrSRjHy2NmeF0zZmXsJdlJSNqa2dpPgwtMEmICcZxfFN+Kg7UubaWVJAHqyUswE/5XPj204KiIZ7hIsqDGeKz1ixHvKjlEC0WHx6Jo0R+WGUUf54+ESJOiUbKBsRT" ["HardExpirationTime"]=> string(24) "2016-03-09T14:36:08.000Z" } bool(false)
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: simplexml_load_string() in /in/BJt73 on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: simplexml_load_string() in /in/BJt73 on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: simplexml_load_string() in /in/BJt73 on line 5