[TYPO3-v4] A "big cleanup" umbrella issue?
Jigal van Hemert
jigal at xs4all.nl
Tue Feb 1 21:38:35 CET 2011
Hi,
On 1-2-2011 18:07, Ernesto Baschny [cron IT] wrote:
> Jigal van Hemert schrieb am 01.02.2011 15:33:
>> * removing PHP 5.2 support
>
> I don't think we will "remove 5.2 support". But we will be able to start
> using 5.3-only features in new RFCs. Or what do you have any specifics
> in mind with "removing 5.2 support"?
Checks for functions which are new to 5.3 (or available in PECL
packages). Example:
if (function_exists('finfo_open')) {
if (($finfo = @finfo_open(FILEINFO_MIME))) {
$iconMimeType = ' type="' . finfo_file($finfo, PATH_site .
$favIcon) . '"';
finfo_close($finfo);
$pageRenderer->setIconMimeType($iconMimeType);
}
}
--
Kind regards / met vriendelijke groet,
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-project-v4
mailing list