Date: 06/30/02
- Next message: Robert Spanton: "[PHP-DOC] class members"
- Previous message: Paul Hudson: "Re: [PHP-DOC] PHP manual typos, part 3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: matslin <email protected>
Operating system: Linux
PHP version: 4.2.1
PHP Bug Type: Documentation problem
Bug description: SetCookie generates error-message with empty string as parameter #3
While the documentation says that the third parameter is optional and can
be given with a empty string, the following code does now generate a
warning:
<?php
setcookie('test', '', '');
?>
This changed somewhere between 4.1.2 and 4.2.1.
Since error-output before trying to set the cookie is somewhat problematic
(when not using output buffering) this also broke BC in a minor way.
-- Edit bug report at http://bugs.php.net/?id=18073&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18073&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18073&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18073&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18073&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18073&r=support Expected behavior: http://bugs.php.net/fix.php?id=18073&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18073&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18073&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18073&r=globals-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Robert Spanton: "[PHP-DOC] class members"
- Previous message: Paul Hudson: "Re: [PHP-DOC] PHP manual typos, part 3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

