php-general | 2001092
Date: 09/19/01
- Next message: Emile Bosch: "Re: [PHP] Protecting variables and functions? Like C#"
- Previous message: Emile Bosch: "[PHP] PHP vs M$.NET C#?"
- In reply to: Emile Bosch: "[PHP] Protecting variables and functions? Like C#"
- Next in thread: Emile Bosch: "Re: [PHP] Protecting variables and functions? Like C#"
- Reply: Emile Bosch: "Re: [PHP] Protecting variables and functions? Like C#"
- Reply: php: "[PHP] bugs.php.net - xmltree"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This would certainly be a nice feature to have, especially if you've
done any development with Java or C++ in the past.
Many PHP class authors adopt a convention that variables or functions
that start or end in an underscore ("_") should be treated as private
and used at your own risk, i.e. they may change in a future release of
the class or not work properly/safely when accessed directly.
- Tim
http://www.phptemplates.org
On Wed, 2001-09-19 at 09:00, Emile Bosch wrote:
> I am a huge fan of php but i am kinda scared by c# i really like it's
> ability to make functions and variable not accessible and therefore force
> the user to use a function instead of accessing it indirectly.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Emile Bosch: "Re: [PHP] Protecting variables and functions? Like C#"
- Previous message: Emile Bosch: "[PHP] PHP vs M$.NET C#?"
- In reply to: Emile Bosch: "[PHP] Protecting variables and functions? Like C#"
- Next in thread: Emile Bosch: "Re: [PHP] Protecting variables and functions? Like C#"
- Reply: Emile Bosch: "Re: [PHP] Protecting variables and functions? Like C#"
- Reply: php: "[PHP] bugs.php.net - xmltree"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

