php / doc-en

English PHP documentation
501 stars 731 forks source link

Check if `string.strip_tags `, `mcrypt.*`, and `mdecrypt.*` filters are still available in PHP 8 #3860

Open Girgias opened 1 week ago

Girgias commented 1 week ago

Going through our filter documentation and saw the deprecation warning boxes.

If those are still available we need to add an issue on php-src to remove them in PHP 9, if not update the docs.

From manual page: https://php.net/filters.encryption


cmb69 commented 1 week ago

mcrypt. and mdecrypt. are no longer php-src concern, since ext/mcrypt has been unbundled. Not sure what to do with the documentation; https://pecl.php.net/package/mcrypt says no longer maintained, but had a couple of releases, the last one not even a year ago.

string.strip_tags is removed as of PHP 8.0.0 (https://heap.space/search?project=PHP-7.4&project=PHP-8.0&full=&defs=strfilter_strip_tags_create&refs=&path=&hist=&type=c).

Girgias commented 1 week ago

We probably should say that it was removed from PHP in PHP 7.2.0, as this is when we removed it. We could add a secondary note that it is still available on PECL.

cmb69 commented 1 week ago

Yeah, something like https://www.php.net/manual/en/intro.mcrypt.php