Feature proposal : php.ini option to disable access control and interfaces
| From: | Eric Daspet | Date: | Fri, 16 Apr 2004 09:32:29 +0000 |
| Subject: | Feature proposal : php.ini option to disable access control and interfaces | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-9251@lists.php.net to get a copy of this message | ||
Hi,
Is it possible or planned to have a php.ini option in order to disable interfaces and access control ? something like assert.active for assertions.
What I mean is something like a option "access_control.active". If it is disabled then PHP do not check private/public/protected access, do not load interfaces definitions with __autoload and do not use them.
Could this speed up some script which have proven to be stable and correctly designed ? it should avoid loading some files (interface definitions) and avoid some checks (access controls).
Am I right to think it may help performance ? and is this feature possible ? (probably not for 5.0 as we are in RC, but somewhere in future)
Sincerely,
--
Eric Daspet