hannob/php-crashers

Example scripts that cause segfaults in PHP

PHP

440

14 commits

updated Feb 22, 2024

See the code

README

php-crashers

Example scripts that cause segfaults in PHP

description

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.

2024 update notice

To PHP's credit, all of the examples in this repository no longer crash in modern PHP (tested with 8.3.3).

links

hannob/php-crashers

Example scripts that cause segfaults in PHP

PHP

440

14 commits

updated Feb 22, 2024

See the code

README

php-crashers

Example scripts that cause segfaults in PHP

description

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.

2024 update notice

To PHP's credit, all of the examples in this repository no longer crash in modern PHP (tested with 8.3.3).

links

Significant stargazers

Viktor Szépe

791 followers · starred Jan 2024

Grégoire Pineau

813 followers · starred Jan 2018

Abdul Malik Ikhsan

751 followers · starred Oct 2018

Théo FIDRY

376 followers · starred Jan 2018