|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-30 15:10 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 11:00:01 2025 UTC |
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.