Re: PHP 4.0 Bug #5283: Session support working only in the php beta version.
| From: | Sascha Schumann | Date: | Thu, 29 Jun 2000 14:40:34 +0000 |
| Subject: | Re: PHP 4.0 Bug #5283: Session support working only in the php beta version. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-22803@lists.php.net to get a copy of this message | ||
On Thu, 29 Jun 2000, Stanislav Malyshev wrote:
> SS>> Are there any similar classes? I don't like doing this step
> SS>> for step; let us get it right now.
>
> Actually, in register_standard_class in zend.c Zend seems to register this
> class. Seems that unserialize forgets to do "tolower" to the class name
> before looking for it. Classes in PHP are not case-sensitive, AFAIK.
Right. zend_register_internal_class lowercases the class name
before storing it in the hash. So, we need to lowercase the
names as well before looking them up. Can you do the change
for both deserializers, Stanislav?
- Sascha