Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.38 KB

File metadata and controls

31 lines (22 loc) · 1.38 KB
layout project
title Safe-PHP
order safe php
tags
core php
replacement
alpha
authors
name
David Négrier
companies
name
TheCodingMachine
website
license
docs
github
name
thecodingmachine/safe
packagist
name
thecodingmachine/safe
dependencies
composer

[{{ page.title }}]({{ page.url | absolute_url }}) redeclares all core PHP functions. The new PHP functions act exactly as the old ones, except they throw exceptions properly when an error is encountered.

The "safe" functions have the same name as the core PHP functions, except they are in the Safe namespace.

Note: {{ page.title }} can be integrated with both PHPStan and Rector. Check out the documentation for more information.