Date: 11/25/00
- Next message: Jørgen Skogstad: "[phplib] User authentication : user/pass / send email etc."
- Previous message: Giancarlo Pinerolo: "[phplib] cancel_login only has effect on login form, not on register?"
- In reply to: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- Next in thread: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- Reply: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> This works in php3 but not in php4, because the unset removes the global
> references of $info, so $sess->serialize() can't find the correct values
> for $info and simple don't register the $info array. But in php3 it
> works fine, unset simple clears the values of $info and do not remove
> the global reference, so when a re-set $info after unset it is still
> global and then $sess->serialize() do find the values. But I could not
> find any references in manual about this diferent behavior between
> versions;
"unset() now breaks the association between a locally scoped
variable and one that is globally scoped if the reference is
made using the "global" keyword.
http://php.net/version4/incompatibilities.php
- Sascha
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Jørgen Skogstad: "[phplib] User authentication : user/pass / send email etc."
- Previous message: Giancarlo Pinerolo: "[phplib] cancel_login only has effect on login form, not on register?"
- In reply to: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- Next in thread: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- Reply: Renato Lins: "Re: [phplib] PHPLIB+PHP4 session variable not registered"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

