Skip to content

dsv-su/strict-mode-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strict mode 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.

Installation

composer require dsv-su/strict-mode-php '~1.0'

Usage

require 'vendor/autoload.php';
echo "$x\n"; // throws ErrorException

About

Enable strict error handling in PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages