This usually happens when using a function directly with
empty
.
Example:
if (empty(is_null(null))) {
echo 'empty';
}
This is because
empty
is a language construct and not a function, it cannot be called using variable functions.