PHP 8.5 now issues warnings about language features that are
deprecated. You can ignore them for now, but in PHP 9 or whatever
these deprecated things might no longer work. I get this with users
a lot :-)
If it's your server you can suppress these warnings by setting
error_reporting by plonking this in php.ini:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE &
~E_WARNING
display_errors = Off
If it's not your server or you want to keep the warnings you can do
this at the start of the program(?) using something like:
error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE &
~E_DEPRECATED);
Or
If you're using Apache you can also do it in the .htaccess file for
the application but I can't remember the runes - I think you need
the numerical version of the bit twiddling above - i.e. echo E_ALL
& ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED
This stuff is that there are multiple names for particular types
(yes, PHP now has types!). Basically, 'C' types names like int,
bool, float are preferred (also string) and old ones like double,
integer, boolean are deprecated. You can edit the PHP easily enough
to tidy it up if you're anything of a programmer - it's nothing
magic.
NB. Use at your own risk - I'm a 'C' programmer but I have been
looking after servers hosting other's PHP for a while now...
Regards, Frank.