ID: 11643 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Assigned Bug Type: *Session related Operating system: PHP Version: 4.0 Latest CVS (2001-06-24) Assigned To: hholzgra Comments: Previous Comments: --------------------------------------------------------------------------- [2001-06-24 13:10:03] [EMAIL PROTECTED] session_destroy() and session_register() both defines the same symbol. When I set: error_reporting = E_ALL in php.ini file I got warning: Warning: Constant sid already defined in /home/sites/home/users/zork/web/report/sid.php on line 5 in this saple code: <? $foo = 2; session_start(); session_destroy(); session_register("foo"); session_register("bar"); ?> On web: http://biuro.pablosoft.com.pl/~zork/report/sid.php Zork --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11643&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]