Example scripts that cause segfaults in PHP
PHP is a memory safe language with a garbage collector, thus it usually shouldn't crash unless there is a bug.
However while analyzing why PHP services crash I occasionally found situations where PHP crashed that the PHP developers didn't consider worth fixing. I'll collect them here.
To PHP's credit, all of the examples in this repository no longer crash in modern PHP (tested with 8.3.3).