3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result='Content-Type: text/html Content-Length: 6400 Connection: close Server: Server Date: Fri, 20 Apr 2018 19:36:29 GMT Vary: Content-Type,Host,Cookie,Accept-Encoding,User-Agent X-Cache: Miss from cloudfront Via: 1.1 e96a3d9585744d8d148862e08e86b476.cloudfront.net (CloudFront) X-Amz-Cf-Id: ooKmjKB4yHQCf_TcCQ0aWkEwHbh7ITSubfc2suPj8g0qpokRTu_qXA==' . "\r\n\r\n" . '<!DOCTYPE html> <!--[if lt IE 7]> <html lang="en-us" class="a-no-js a-lt-ie9 a-lt-ie8 a-lt-ie7"> <![endif]--> <!--[if IE 7]> <html lang="en-us" class="a-no-js a-lt-ie9 a-lt-ie8"> <![endif]--> <!--[if IE 8]> <html lang="en-us" class="a-no-js a-lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="a-no-js" lang="en-us"><!--<![endif]--><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8">'; $rr=explode("\r\n\r\n", $result); echo @$rr[1]; ?>
Output for 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
<!DOCTYPE html> <!--[if lt IE 7]> <html lang="en-us" class="a-no-js a-lt-ie9 a-lt-ie8 a-lt-ie7"> <![endif]--> <!--[if IE 7]> <html lang="en-us" class="a-no-js a-lt-ie9 a-lt-ie8"> <![endif]--> <!--[if IE 8]> <html lang="en-us" class="a-no-js a-lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="a-no-js" lang="en-us"><!--<![endif]--><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8">
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 <!DOCTYPE html> <!--[if lt IE 7]> <html lang="en-us" class="a-no-js a-lt-ie9 a-lt-ie8 a-lt-ie7"> <![endif]--> <!--[if IE 7]> <html lang="en-us" class="a-no-js a-lt-ie9 a-lt-ie8"> <![endif]--> <!--[if IE 8]> <html lang="en-us" class="a-no-js a-lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="a-no-js" lang="en-us"><!--<![endif]--><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8">

preferences:
205.98 ms | 403 KiB | 287 Q