11/09
2015
Wallogit.com
2017 © Pedro Peláez
Enable strict error handling in PHP
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., (*1)
composer require dsv-su/strict-mode-php '~1.0'
require 'vendor/autoload.php'; echo "$x\n"; // throws ErrorException