Constant %s is deprecated
With new versions, PHP deprecates some constants. Mostly global constants, but also class constants, when needed.
8.4
-
SUNFUNCS_RET_TIMESTAMP
-
SUNFUNCS_RET_STRING
-
SUNFUNCS_RET_DOUBLE
8.3
-
ASSERT_ACTIVE
-
ASSERT_BAIL
-
ASSERT_CALLBACK
-
ASSERT_EXCEPTION
-
ASSERT_WARNING
PHP code
<?php
echo SUNFUNCS_RET_TIMESTAMP;
?>
Before
0
After
PHP Deprecated: Constant SUNFUNCS_RET_TIMESTAMP is deprecated
Deprecated: Constant SUNFUNCS_RET_TIMESTAMP is deprecated
0
PHP version change
This behavior changed in 8.4.