[TYPO3-core] FYI: Announcing to drop PHP 4 support

Robert Lemke robert at typo3.org
Fri Jul 13 12:35:14 CEST 2007

Hi folks,

Am 13.07.2007 um 11:18 schrieb Ingo Renner:

>> set visibility (public, private, or
>> protected)
> don't know about that, who knows who accesses variables who were
> meant to be private? OTOH we could have magic accessors.
> I'm not quite sure whether we have @access php doc used somewhere, if
> so we could mark methods private if they've that comment.

Just for information: We had lengthy discussions about using magic  
accessors in
5.0 and finally decided avoiding them whenever it is possible. I like  
quote from Cédric Bust (http://www.beust.com/): "Use magic only if  
science fails".
And writing a few setter / getter methods didn't turn out to be a  
hassle in practice.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: Signierter Teil der Nachricht
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070713/a6a4452d/attachment.pgp 

More information about the TYPO3-team-core mailing list