[prev in list] [next in list] [prev in thread] [next in thread]
List: phpdoc
Subject: [PHP-DOC] Bug #18073: SetCookie generates error-message with empty string as parameter #3
From: matslin () orakel ! ntnu ! no
Date: 2002-06-30 19:01:01
[Download RAW message or body]
From: matslin@orakel.ntnu.no
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic