3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(simplexml_load_string(' <BookingInfoRS status="comp." mfc="y" locked="0" version="2" langId="361" eticket="1" isLegacy="0"> '));
based on noDJa
Output for 7.0.20, 7.1.5 - 7.2.0
Warning: simplexml_load_string(): Entity: line 3: parser error : Premature end of data in tag BookingInfoRS line 2 in /in/rPW4E on line 3 Warning: simplexml_load_string(): in /in/rPW4E on line 3 Warning: simplexml_load_string(): ^ in /in/rPW4E on line 3 bool(false)
Output for 5.3.19 - 5.5.28, 5.5.35 - 5.6.12, 5.6.21 - 5.6.28, 7.0.6, 7.1.0
Warning: simplexml_load_string(): Entity: line 3: parser error : Premature end of data in tag BookingInfoRS line 2 in /in/rPW4E on line 5 Warning: simplexml_load_string(): in /in/rPW4E on line 5 Warning: simplexml_load_string(): ^ in /in/rPW4E on line 5 bool(false)
Output for 5.5.29 - 5.5.34, 5.6.13 - 5.6.20, 7.0.0 - 7.0.5
Warning: simplexml_load_string(): Entity: line 3: parser error : Premature end of data in tag BookingInfoRS line 2 in /in/rPW4E on line 5 bool(false)