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).
791 followers · starred Jan 2024
813 followers · starred Jan 2018
751 followers · starred Oct 2018
376 followers · starred Jan 2018
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).
791 followers · starred Jan 2024
813 followers · starred Jan 2018
751 followers · starred Oct 2018
376 followers · starred Jan 2018