Re: segfault with class type hints and refs.
| From: | Moriyoshi Koizumi | Date: | Wed, 23 Jul 2003 17:10:02 +0000 |
| Subject: | Re: segfault with class type hints and refs. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3580@lists.php.net to get a copy of this message | ||
The problem you found seems identical to the bug #24658.
http://bugs.php.net/bug.php?id=24658
Anyway, thanks for the report.
Moriyoshi
"Tom Fishwick" <tom@zworg.com> wrote:
> Hi, I was trying out the class type hints feature, and
>
> <?
> class P { }
>
> function func(P $p) { }
>
> $p = new P;
>
> func(&$p);
> ?>
>
> that causes a segfault. Doing function func(P &$p), also causes a
> segfault. I'm using todays snapshot. Here's a bt.