Re: segfault => bug report #46308
| From: | Olivier Bonvalet | Date: | Thu, 16 Oct 2008 00:09:17 +0000 |
| Subject: | Re: segfault => bug report #46308 | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41105@lists.php.net to get a copy of this message | ||
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.