@ 2012-11-16T08:17:25Z <?php
$str = "
HTTP/1.1 200 OK
Content-Type: image/jpeg
Last-Modified: Mon, 19 Apr 2010 22:39:21 GMT
Date: Fri, 16 Nov 2012 08:06:23 GMT
Expires: Sat, 16 Nov 2013 08:06:23 GMT
X-Content-Type-Options: nosniff
Server: sffe
Content-Length: 6422
X-XSS-Protection: 1; mode=block
Cache-Control: public, max-age=31536000
Age: 610
";
var_dump(split("\n", $str));
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 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.6 Fatal error: Uncaught Error: Call to undefined function split() in /in/q5hil:17
Stack trace:
#0 {main}
thrown in /in/q5hil on line 17
Process exited with code 255 . Output for 5.3.0 - 5.3.29 , 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 Deprecated: Function split() is deprecated in /in/q5hil on line 17
array(14) {
[0]=>
string(0) ""
[1]=>
string(15) "HTTP/1.1 200 OK"
[2]=>
string(24) "Content-Type: image/jpeg"
[3]=>
string(44) "Last-Modified: Mon, 19 Apr 2010 22:39:21 GMT"
[4]=>
string(35) "Date: Fri, 16 Nov 2012 08:06:23 GMT"
[5]=>
string(38) "Expires: Sat, 16 Nov 2013 08:06:23 GMT"
[6]=>
string(31) "X-Content-Type-Options: nosniff"
[7]=>
string(12) "Server: sffe"
[8]=>
string(20) "Content-Length: 6422"
[9]=>
string(31) "X-XSS-Protection: 1; mode=block"
[10]=>
string(39) "Cache-Control: public, max-age=31536000"
[11]=>
string(8) "Age: 610"
[12]=>
string(0) ""
[13]=>
string(0) ""
}
Output for 4.3.0 - 4.3.11 , 4.4.0 - 4.4.9 , 5.0.0 - 5.0.5 , 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 array(14) {
[0]=>
string(0) ""
[1]=>
string(15) "HTTP/1.1 200 OK"
[2]=>
string(24) "Content-Type: image/jpeg"
[3]=>
string(44) "Last-Modified: Mon, 19 Apr 2010 22:39:21 GMT"
[4]=>
string(35) "Date: Fri, 16 Nov 2012 08:06:23 GMT"
[5]=>
string(38) "Expires: Sat, 16 Nov 2013 08:06:23 GMT"
[6]=>
string(31) "X-Content-Type-Options: nosniff"
[7]=>
string(12) "Server: sffe"
[8]=>
string(20) "Content-Length: 6422"
[9]=>
string(31) "X-XSS-Protection: 1; mode=block"
[10]=>
string(39) "Cache-Control: public, max-age=31536000"
[11]=>
string(8) "Age: 610"
[12]=>
string(0) ""
[13]=>
string(0) ""
}
preferences:dark mode live preview
293.83 ms | 404 KiB | 460 Q