From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0 Latest CVS (2001-06-24)
PHP Bug Type:     *Session related
Bug description:  SID redefined

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


-- 
Edit Bug report at: http://bugs.php.net/?id=11643&edit=1



-- 
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]

Reply via email to