* @access protected
*/
function _findHeader($compare) {
- $lines = split("\r\n", $compare);
+ $lines = explode("\r\n", $compare);
foreach ($lines as $line) {
if ($this->_testHeaderLine($line)) {
return $line;
* @access private
*/
function _testHeaderLine($line) {
- if (count($parsed = split(':', $line)) < 2) {
+ if (count($parsed = explode(':', $line)) < 2) {
return false;
}
list($header, $value) = $parsed;
sprintf($message, "Not expecting cookie [$name]"));
}
}
-?>
\ No newline at end of file
+?>