PHP exception which leads to segfault when not handled properly.
The preferred way to install this extension is through composer.
Either run
$ php composer.phar require alexeevdv/php-segfault-exception "^1.0"or add
"alexeevdv/php-segfault-exception": "^1.0"
to the require section of your composer.json file.
<?php
// test.php
use alexeevdv\SegfaultException;
throw new SegfaultException;$ php test.php
Segmentation fault (core dumped)