Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 2000051

RE: [PHP3] Does php classes support public/private/protected members? From: Vamsi Nath (vnath <email protected>)
Date: 05/01/00

I'm afraid that PHP doesn't have the distinction of public/private members
in its object-oriented methodology. In this manner, it is accurate to say
that PHP is not a true OOP language and it isn't intended to be. Personally,
it would be nice if a class's data members were protected from tampering
from non-member functions, but in the context of web-based programming in
PHP, it's not such a big deal. If you want a true OOP language then you
should think about using Python or Java.

--Vamsi

-----Original Message-----
From: a [mailto:mjta <email protected>]
Sent: Monday, May 01, 2000 6:50 AM
To: php3 <email protected>
Subject: [PHP3] Does php classes support public/private/protected
members?

        Well, That is the question: Does php classes support
public/private/protected members?

--
Miguel Joaquin Trujillo Alvarado - mjta <email protected>
      Las Palmas de Gran Canaria - http://www.arrakis.es/~mjta
                  Espa#a (Spain) - Entusiasta de C/C++, Unix, Delphi
                         ICQ UIN - 8066864

Hay dos productos que hay salido de Berkeley: el LSD y el UNIX. No creemos que sea una coincidencia. (Jeremy S. Anderson)

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>