PHP 5.4: fix regression introduce in fix for #67118