3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?xml version="1.0" encoding="utf-8"?> <documents> <patients> <patient> <name lastname="hosan">iqbal</name> <address>uttara</address> </patient> <patient> <name lastname="saiful">suman</name> <address>mohakhali</address> </patient> </patients> </documents>
based on nJpHZ
Output for 5.4.0 - 5.4.32
<?xml version="1.0" encoding="utf-8"?> <documents> <patients> <patient> <name lastname="hosan">iqbal</name> <address>uttara</address> </patient> <patient> <name lastname="saiful">suman</name> <address>mohakhali</address> </patient> </patients> </documents>