3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(http_parse_headers("HTTP/1.1 304 Not Modified Server: nginx Date: Thu, 19 Nov 2015 14:50:12 GMT Set-Cookie: _ga=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0 _gat=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0 Strict-Transport-Security: max-age=31536000 content-security-policy-report-only: default-src 'none'; script-src 'self' cdn.jsdelivr.net www.google-analytics.com blob: 'unsafe-inline'; child-src 'self' cdn.jsdelivr.net blob:; connect-src 'self'; img-src 'self' www.google-analytics.com data:; style-src 'self' 'unsafe-inline'; frame-src 'self' cdn.jsdelivr.net blob:; report-uri /cspReport Cache-Control: public Last-Modified: Thu, 19 Nov 2015 14:50:12 GMT Expires: Thu, 19 Nov 2015 14:50:57 GMT X-Firefox-Spdy: 3.1"));
based on FJLUO
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function http_parse_headers() in /in/gIZHW:3 Stack trace: #0 {main} thrown in /in/gIZHW on line 3
Process exited with code 255.
Output for 5.5.0 - 5.6.28
Fatal error: Call to undefined function http_parse_headers() in /in/gIZHW on line 3
Process exited with code 255.