Ancestors

Toot

Written by owls on 2025-01-18 at 19:40

the php type coercion thread is delightful

=> More informations about this toot | More toots from owls@yshi.org

Descendants

Written by Ret on 2025-01-18 at 19:45

@owls honestly any "this fundamental thing about php that has been true since it was called personal home page" statement is always gonna be a great nerdsnipe.

my old parlour trick used to be

function __clone() {

    clone($this);

}

}

$foo = new Foo;

clone($foo);

which would always Segmentation fault. The punchline? The massive thread on bugs.php.net where the developers insisted this was expected behaviour ("infinite recursion segfaults!").

This was only semi-recently fixed.

Man I feel old.

Edit: https://3v4l.org/FHvIL#v7.3.32

=> More informations about this toot | More toots from ret@furry.engineer

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113851056422545609
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
248.638267 milliseconds
Gemini-to-HTML Time
0.660489 milliseconds

This content has been proxied by September (ba2dc).