[TYPO3-dev] Testing PHP

Tapio Markula tapio.markula at xetpoint.fi
Mon Nov 10 14:02:57 CET 2008


Martin Kutschker kirjoitti:
> Tapio Markula schrieb:
>> Hi
>>
>> I found that it is possible to use TYPO3_branch
>> for testing Typo3 versions, for example
>>
>> if(TYPO3_branch>=4.2)
>>
>> Is the corrresponding constant for testing PHP versions?
> 
> See note on http://www.php.net/manual/en/function.phpversion.php
> 
> Masi
that doesn't strip possible extra information like 'RC.1'

must use doubleval(PHP_VERSION) to get similar format.




More information about the TYPO3-dev mailing list