[TYPO3-core] phpversion() vs PHP_VERSION
Michael Stucki
michael at typo3.org
Fri Jun 2 15:51:48 CEST 2006
Hi Martin,
> Which one to use? We use both methods in the Core. Is one of them preferred
> or has a (dis)advantage over the other?
You probably mean $TYPO_version against TYPO3_version, right?
I recommend to use the constant because a) it can't be changed, and b) because
the name of the variable is wrong.
Probably you should mark the old variable as deprecated.
- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060602/75c79193/attachment.pgp
More information about the TYPO3-team-core
mailing list