Thanks everyone!
I've just submitted the report, adding the info you provided.
Regards,
Martin Alterisio
Hi,
I can confirm that behaviour (older CVS build) and it seems that you can
get that thingy to segfault if you var_dump twice. That might be helpful
for investigating that "interesting" behaviour. Backtrace follows...
#0 0x0087a3b9 in zend_mm_check_ptr (heap=0xe20710,
ptr=0x7fffa5cd22c
Martin Alterisio wrote
> class Foo {
> static public $foo;
>
> function __toString() {
> self::$foo = $this;
> return 'foo';
> }
> }
>
> $foo = (string) new Foo();
> var_dump(Foo::$foo);
> ?>
Got even stranger result here:
string(3) "foo"
ALERT - canary mismatch on efr