Reply to Re: Class public function

Your name:

Reply:


Posted by Colin Fine on 12/08/05 12:05

Marcel wrote:
>>PHP Prior to version 5 does not
>>support access specifiers.
>>
>>--
>
>
> Thanks for your advice Etienne,
>
> Most PHP classes on the web i've seen do not use access-specifiers at
> all.... is bthat to make them backwards compatible with earlier versions of
> PHP.
>
> What's PHP5's status right now? Is it allready broadly in use by the PHP
> community or is it still relatively new?
>
> Marcel
>
>
Both PHP 4 and PHP 5 are in use.

Having made the somewhat painful transition, I would recommend anybody
starting now to use PHP 5, especially if they think OO.

The OO model in PHP 4 is broken, not to put too fine a point on it.

Having said that, I suspect that not too many systems are using access
specifiers yet, because without 'friend classes', or some equivalent
mechanism, its usefulness is limited.

Colin

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация