php-8.1
Migration to PHP 8.1 – how to fix Deprecated Passing null to parameter error – rename build in functions
Firstly, two things to bear in mind: PHP 8.1 deprecates these calls, it does not make them errors. The purpose of deprecation is to give authors advance notice to fix their code, so you and the authors of libraries you use have until PHP 9.0 comes out to fix things. So, don’t panic that not … Read more
Constant FILTER_SANITIZE_STRING is deprecated
This filter had an unclear purpose. It’s difficult to say what exactly it was meant to accomplish or when it should be used. It was also confused with the default string filter, due to its name, when in reality the default string filter is called FILTER_UNSAFE_RAW. The PHP community decided that the usage of this … Read more