Deprecation: #75371 - array2xml_cs¶
See forge#75371
Description¶
The method General
has been marked as deprecated.
Impact¶
Using the method General
will trigger a deprecation log entry.
Affected Installations¶
All installations with third party extensions using this method are affected.
Migration¶
Use General
instead. The XML declaration must be written manually.
Example code:
// Deprecated
$bodyText = GeneralUtility::array2xml_cs($array, 'phparray');
// Migrated
$bodyText = '<?xml version="1.0" encoding="utf-8" standalone="yes" ?>' . LF . GeneralUtility::array2xml($array, '', 0, 'phparray');
Copied!