3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" id="mainLayout"> <head> <title>Anglosphere x3</title> <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta name="content-language" content="en-US" /> <meta name="viewport" content="width=device-width" /> </head> </html> HTML; var_dump(simplexml_load_string($html));

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
151.59 ms | 2405 KiB | 12 Q