Re-added fallback behaviour for PHP 5.3.