Bug #15134 Updated: private modifier for class methods

From: Date: Mon, 21 Jan 2002 06:00:11 +0000
Subject: Bug #15134 Updated: private modifier for class methods
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77639@lists.php.net to get a copy of this message
ID: 15134 Updated by: daniel Old Reported By: tysonlt@SPAMSUCKS.hotmail.com Reported By: tysonlt@hotmail.com Old Status: Open Status: Bogus Bug Type: Feature/Change Request Operating System: Redhat Linux PHP Version: 4.1.1 New Comment: A better OO support will come with Zend 2.0 (i.e. with the next major release of PHP). have a look at zend.com, there's some documentation about it there. The only thing you can do NOW is to add a comment which suggests to the user not to use this variable/function: /* private: moo moo */ function moo() { } Kind Regards, Daniel Lorch Previous Comments: ------------------------------------------------------------------------ [2002-01-21 00:18:48] tysonlt@SPAMSUCKS.hotmail.com ok, I know that class support is only a courtesy, and it's not supposed to be complete, etc etc. BUT... would it be possible to allow us to declare class methods as private? This is the biggest thing missing to me, apart from overloading which is being addressed. Unless of course it would hugely affect performance. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15134&edit=1

« previous php.dev (#77639) next »