Hello,
this bug was corrected in CVS on 17 oct, but I can't find the related
patch on http://news.php.net/php.cvs/start/53560
Does someone know which one is it ? I would like try to backport it to
PHP 5.2.6
Thanks in advance,
Olivier Bonvalet
Olivier Bonvalet a écrit :
Hi Filipe,
there is not the problem with your code, the script works fine and
show "NULL".
I open this bug report : http://bugs.php.net/bug.php?id=46308
(I hope the title is correct... I did'nt know what to put...)
Thanks,
Olivier
Felipe Pena a écrit :
Hi Olivier,
That is weird, cannot you reproduce it using the code below?
<?php
class main
{
public static $dataAccessor;
}
class relay
{
public function __get($name)
{
main::$dataAccessor = 1;
}
}
main::$dataAccessor = new relay();
var_dump(main::$dataAccessor->bar);
?>
Anyway, please file a bug report: http://bugs.php.net/report.php
Thanks.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php