Fixed php 8.6+ deprecated function usage

Xon

Well-known member
Licensed customer
Affected version
2.3.13
The is_double(), is_long(), is_integer(), and doubleval() aliases have been deprecated. Use is_float(), is_int(), and floatval() instead.
is_integer is used in src/XF/Template/Templater.php, src/XF/Legacy/DataWriter.php and src/XF/Data/Currency.php but the rest are referenced in src/XF/Cli/Command/Development/ClassUseFunction.php
 
Last edited:
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.14).

Change log:
Prevent PHP 8.6 deprecation notices in debug mode when showing dates and prices
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom