[BUGFIX] Prevent fatal error with PHP 5.3

Change-Id: Ie23144db538717f79ab5ef9962b417bef3977490
Resolves: #59351
Reviewed-on: https://review.typo3.org/30585
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Nico de Haen
Tested-by: Nico de Haen