[TYPO3-core] phpversion() vs PHP_VERSION

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Jun 6 15:38:23 CEST 2006


Karsten Dambekalns schrieb:
> Hi.
> 
> On Tuesday 06 June 2006 14:20, Martin Kutschker wrote:
> 
>>Karsten Dambekalns schrieb:
>>
>>>And we should never, ever, have a two-digit version number. I think we
>>>agreed on the fact that technically 4.0 doesn't exist,
>>
>>But 4.0 is only a shorthand anyay, which version_compare() can deal with.
> 
> 
> No, the EM obviously complains about "4.0" not being good enough for an 
> extension asking for "4.0.0". Doesn't it for you?

I don't know, but I meant it *should* be treated as a shorthand. IMHO "4", 
"4.0" and "4.0.0" are the same version and should be treated by the EM (and 
  int_from_ver as such).

Masi



More information about the TYPO3-team-core mailing list