note 102065 deleted from function.get-headers by danbrown
| From: | danbrown@php.net | Date: | Tue, 25 Jan 2011 22:26:12 +0000 |
| Subject: | note 102065 deleted from function.get-headers by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176308@lists.php.net to get a copy of this message | ||
Note Submitter: Lukas Najduk
----
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.