note 102065 added to function.get-headers
| From: | LukasNajduk at osu1 dot php dot net | Date: | Tue, 25 Jan 2011 22:24:43 +0000 |
| Subject: | note 102065 added to function.get-headers | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-176307@lists.php.net to get a copy of this message | ||
Sorry, i just noticed that the code is not clean.
Replace the line below
// if the value is one of the splitmarks, start the next header
with
if (array_key_exists($i, $splitmarks) && $head === $splitmarks[$i]) {
or it will do php warnings.
----
Server IP: 69.147.83.197
Probable Submitter: 83.135.123.94
----
Manual Page -- http://www.php.net/manual/en/function.get-headers.php
Edit -- https://master.php.net/note/edit/102065
Del: integrated -- https://master.php.net/note/delete/102065/integrated
Del: useless -- https://master.php.net/note/delete/102065/useless
Del: bad code -- https://master.php.net/note/delete/102065/bad+code
Del: spam -- https://master.php.net/note/delete/102065/spam
Del: non-english -- https://master.php.net/note/delete/102065/non-english
Del: in docs -- https://master.php.net/note/delete/102065/in+docs
Del: other reasons-- https://master.php.net/note/delete/102065
Reject -- https://master.php.net/note/reject/102065
Search -- https://master.php.net/manage/user-notes.php