From: logy at logy dot com dot br Operating system: Linux 2.6.20 PHP version: 5.2.8 PHP Bug Type: Class/Object related Bug description: Magic method leaks
Description: ------------ Not exactly a bug but i didn't find another good place to post it. I'd like to see a implemented magic method or something like that, with funcionality of the __call method but that hooks before any method that really EXISTS in the class. Something like that would be very util on implementations such as security and any other control over a multiple class design. I think PHP a wonderful language, but for the first time, I found a problem in the language that won't fit my design needs, so, I expect my solicitation to be valid. Reproduce code: --------------- - Expected result: ---------------- - Actual result: -------------- - -- Edit bug report at http://bugs.php.net/?id=47228&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47228&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47228&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47228&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47228&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47228&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47228&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47228&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47228&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47228&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47228&r=support Expected behavior: http://bugs.php.net/fix.php?id=47228&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47228&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47228&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47228&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47228&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47228&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47228&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47228&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47228&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47228&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47228&r=mysqlcfg
