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: 2024-10-29 02:37:44 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)