alexeevdv/php-segfault-exception

PHP exception which leads to segfault when not handled properly

1.1.0 2019-11-28 15:47 UTC

This package is auto-updated.

Last update: 2021-12-28 20:35:58 UTC


README

Build Status codecov PHP 5.6 PHP 7.0 PHP 7.1 PHP 7.2 PHP 7.3 PHP 7.4

PHP exception which leads to segfault when not handled properly.

Installation

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.

Usage

<?php
// test.php

use alexeevdv\SegfaultException;

throw new SegfaultException;
$ php test.php 
Segmentation fault (core dumped)