dsv-su / strict-mode-php
Enable strict error handling in PHP
1.0.1
2015-09-11 17:26 UTC
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-13 05:03: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