Date: 06/27/01
- Next message: blankart <email protected>: "[PHP-DEV] Bug #11759: DOCUMENT_ROOT not available when using PHP with IIS5 (cgi Version)"
- Previous message: tom <email protected>: "[PHP-DEV] Bug #11707 Updated: FILE.lo isn't a libtool type if built php as a cgi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alavoor <email protected>
Operating system: Linux
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: Private, Protected variables in classes
I have a good idea. It is extremely easy to implement private, protected variables in classes.
PHP can use the name mangling of variables to implement private variables in classes. This technique is used by python language.
What you do is - PHP will read the class and simply change the variable names to <variablename>_timestamp. Where timestamp is unique id got by time() function.
Classes need private, protected variables. What do you say??
-- Edit Bug report at: http://bugs.php.net/?id=11756&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: blankart <email protected>: "[PHP-DEV] Bug #11759: DOCUMENT_ROOT not available when using PHP with IIS5 (cgi Version)"
- Previous message: tom <email protected>: "[PHP-DEV] Bug #11707 Updated: FILE.lo isn't a libtool type if built php as a cgi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

