Deprecation: #79316 - Deprecate ArrayUtility::inArray()

See forge#79316


Deprecate ArrayUtility::inArray()


Calling ArrayUtility::inArray() method will trigger a deprecation log entry. Code using this method will work until it is removed in TYPO3 v9.

Affected Installations

Any installation using the mentioned method ArrayUtility::inArray().


Use the native in_array() function of PHP. It is strongly recommended to ensure the same type is used everywhere and the 3rd parameter of in_array() is set to true to activate the type check.