Deprecation: #94137 - Switch behavior of ArrayUtility::arrayDiffAssocRecursive()
See forge#94137
Description
Despite its name, the method
\TYPO3\
mimics the behavior of
array_
and not of
array_
.
Impact
The method has been adjusted to act like
array_
. As this is
considered being a breaking change, the behavior must be enabled explicitly by
passing a third parameter
$use
being true. If the
argument is either omitted or
false
, the old behavior is kept but a
deprecation warning will be thrown.
Affected Installations
Every 3rd party extension using
\TYPO3\
without its third argument being
true
is affected.
Migration
To keep the previous
array_
based behavior, use the introduced
method
\TYPO3\
.
To make use of the
array_
based behavior, which will become
the default behavior in TYPO3 v12, pass
true
as the third argument.