Date: 01/22/99
- Next message: tobias <email protected>: "[PHP-DEV] Bug #1089: eregi_replace misbehaves on German Umlaute"
- Previous message: Bug Database: "[PHP-DEV] Bug #1079 Updated: Since Version 3.0.6 the Openlink Drivers Do not work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 1075
User Update by: eb <email protected>
Status: Open
Old-Bug Type: Feature/Change Request
Bug Type: Misbehaving function
Description: No warning is Header() is used after the headers have been sent ?
I made some tests today, and it seems that the Header() function does not issue a warning if it is used after some text has been written.
This would be really useful for debugging PHP scripts. By the way, the SetCookie() function will issue a warning, so I think that this is not consistent.
I checked the code, and the warning is only sent when DEBUG is defined. The warning for SetCookie does not need the DEBUG compile-time define.
Full Bug description available at: http://ca.php.net/bugs.php3?id=1075
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: tobias <email protected>: "[PHP-DEV] Bug #1089: eregi_replace misbehaves on German Umlaute"
- Previous message: Bug Database: "[PHP-DEV] Bug #1079 Updated: Since Version 3.0.6 the Openlink Drivers Do not work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

