dsv-su / strict-mode-php
Enable strict error handling in PHP
Installs: 63
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/dsv-su/strict-mode-php
This package is not auto-updated.
Last update: 2025-10-25 23:48:05 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