3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $html = <<<EOF <html><head><title>Apache Tomcat/6.0.30 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 415 - Unsupported Media Type</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Unsupported Media Type</u></p><p><b>description</b> <u>The server refused this request because the request entity is in a format not supported by the requested resource for the requested method (Unsupported Media Type).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.30</h3></body></html> EOF; echo strip_tags($html);
Output for 4.3.0 - 7.1.10
Apache Tomcat/6.0.30 - Error report HTTP Status 415 - Unsupported Media Typetype Status reportmessage Unsupported Media Typedescription The server refused this request because the request entity is in a format not supported by the requested resource for the requested method (Unsupported Media Type).Apache Tomcat/6.0.30