-
Sub-task
-
Resolution: Fixed
-
Minor
-
4.1
-
MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
MDL-76102-master -
Patch PEAR library for PHP 8.1 compatibility
https://github.com/php/php-src/blob/PHP-8.1/UPGRADING
Passing null to a non-nullable argument of a built-in function is
|
deprecated. This matches the behavior of user-defined functions, where null
|
is never accepted by non-nullable arguments.
|
user-defined functions.
|
|
var_dump(str_contains("foobar", null));
|
// Deprecated: Passing null to parameter #2 ($needle) of type string
|
// is deprecated
|
|