Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@
Safe PHP
========

# This project is deprecated



Because of how this project needs to be in sync with the official PHP documentation, maintaining a set of functions for PHP 7 is simply too difficult, which means we have to drop support for versions below PHP 8.

On the other hand, because this project is used in other libraries, I cannot actually change the PHP dependency in composer.json to ^8.0 without risking some huge versions conflicts.

So the only solution I see is to create a new project: [Safe8](https://github.com/thecodingmachine/safe8/).

The old safe library will stay on Packagist, but it won't be updated anymore.


**Work in progress**

A set of core PHP functions rewritten to throw exceptions instead of returning `false` when an error is encountered.
Expand Down