dsv-su / strict-mode-php
Enable strict error handling in PHP
1.0.1
2015-09-11 17:26 UTC
This package is not auto-updated.
Last update: 2024-05-11 15:38:50 UTC
README
This is a tiny library that enables strict error handling in PHP;
i.e., it enables all errors (E_ALL
) and throws an ErrorException
for every error. It uses Composer's autoload facility to always load.
Installation
composer require dsv-su/strict-mode-php '~1.0'
Usage
require 'vendor/autoload.php'; echo "$x\n"; // throws ErrorException