chetan rane wrote:
> Sorry Buddie But Session dose not serialize the Object Please Have a look at
> the Code Again I have tried it with PHP 5.2
> IT dose not call __sleep function. only when you have serialize it calls it.
this is completely untrue. during the shutdown phase objects
in the $_SESSI
2007. 11. 21, szerda keltezéssel 14.12-kor chetan rane ezt írta:
> Sorry Buddie But Session dose not serialize the Object Please Have a look at
> the Code Again I have tried it with PHP 5.2
> IT dose not call __sleep function. only when you have serialize it calls it.
AFAIK session does serialize
Sorry Buddie But Session dose not serialize the Object Please Have a look at
the Code Again I have tried it with PHP 5.2
IT dose not call __sleep function. only when you have serialize it calls it.
On Nov 21, 2007 3:23 AM, Julien Pauli <[EMAIL PROTECTED]> wrote:
> Sorry but it goes throught __sl
Okay, I understand that, thanks all for your help.
I'am used to always using an absolute path, I don't know why this time I
didn't use one.
By the way, that was interesting to understand the "underground" php
behavior.
2007/11/21, Jochem Maas <[EMAIL PROTECTED]>:
>
> Andrés Robinet wrote:
> >> -
Andrés Robinet wrote:
>> -Original Message-
...
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>
> Just wanted to add, I found a log.txt at "D:\xampp\apache" which happens to
> be the root of the apache installation on my
> -Original Message-
> From: Andrés Robinet [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 20, 2007 7:41 PM
> To: php-general@lists.php.net
> Subject: RE: [PHP] __sleep() strange behavior with file writting and
> SESSION using
>
> > -Original Message-
> -Original Message-
> From: Julien Pauli [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 20, 2007 3:51 PM
> To: php-general@lists.php.net
> Subject: [PHP] __sleep() strange behavior with file writting and
> SESSION using
>
> Consider that very simple code, that runs on PHP 5.2.5 onto
This aint a bug
because __sleep is called only when you serialize an object and not when you
assign it to a session Variable;
On Nov 21, 2007 12:21 AM, Julien Pauli <[EMAIL PROTECTED]> wrote:
> Consider that very simple code, that runs on PHP 5.2.5 onto a Windows
> machine :
> class a
> {
>
Sorry but it goes throught __sleep() as session serializes objects before
storing them
Proof is that "done!" is echoed.
Step by step debugging also prove that , the only thing is that
file_put_contents, doesn't execute, but returns a value...
2007/11/20, chetan rane <[EMAIL PROTECTED]>:
>
> This
9 matches
Mail list logo