Re: segfault => bug report #46308
| From: | Olivier Bonvalet | Date: | Sun, 11 Jan 2009 00:45:14 +0000 |
| Subject: | Re: segfault => bug report #46308 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42549@lists.php.net to get a copy of this message | ||
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.