btw, see bug 26737 for more details...
http://bugs.php.net/bug.php?id=26737
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
* Thus wrote Frdric Hardy:
> I'am using php 5.0.0 release.
>
> Try this :
> var_dump($test);
> var_dump(unserialize(serialize($test)));
>
> You should obtain something like that for fist var_dump :
>
> object test
> string test -> 'var'
>
> and for the second var_dump :
>
> object test
>
I'am using php 5.0.0 release.
Try this :
var_dump($test);
var_dump(unserialize(serialize($test)));
You should obtain something like that for fist var_dump :
object test
string test -> 'var'
and for the second var_dump :
object test
string test -> 'var'
string test -> & null
* Thus wrote Frdric Hardy:
>
> class foo
> {
> private $var = 'var';
> ...
>
> function __sleep()
> {
> return array('var');
> }
> }
>
> and php code like this :
>
> $myFoo = new foo();
> var_dump(serialize($myFoo));
>
> the 'var' property was not serialized because
Hello !
I have a problem with __sleep() and __wakeup() with php 5.0.0.
if you have a class like that :
class foo
{
private $var = 'var';
function __construct()
{
...
}
function __sleep()
{
return array('var');
}
function wakeup()
{
}
}
and php
Hello !
I have a problem with __sleep() and __wakeup() with php 5.0.0.
if you have a class like that :
class foo
{
private $var = 'var';
function __construct()
{
...
}
function __sleep()
{
return array('var');
}
6 matches
Mail list logo