From c199f4ca808accd1d9d8be90572bbe4a0981efd8 Mon Sep 17 00:00:00 2001 From: Kharhamel Date: Tue, 13 Apr 2021 18:41:55 +0200 Subject: [PATCH] updated the README --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index a3d84e1b..a371da08 100644 --- a/README.md +++ b/README.md @@ -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.