|
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]
|