[TYPO3-ect] drop support of PHP 4

Fabien Udriot fudriot at omic.ch
Mon Jul 9 23:06:40 CEST 2007


For those who want to use lib, in a more PHP5 compliant, there is a 
tx_lib_object.php version in the bug tracker :

http://bugs.typo3.org/view.php?id=5922  (simply replace the existing file)

It is possible to write this code :

foreach($this->parameters as $parameters){
     echo($parameters);
}

Instead of this code :

for($this->parameters->rewind();$this->parameters->valid();$this->parameters->next()){
     echo $this->parameters->current();
}


Ingo Renner a écrit :
> Elmar Hinz wrote:
> 
>> So we will be able to support both for a while.
> 
> No, please don't do that!
> 
> That's exactly the reason why this switch project exists. It's the hen 
> and egg problem. If you keep supporting php4, they won't switch to php5.
> 
> So please go full and only php5!
> 
> also remove that "function or variable name starts with underscore = 
> private method or variable" crap. Just use the appropriate "private" 
> declaration!
> 
> 
> Ingo


More information about the TYPO3-team-extension-coordination mailing list