From: [EMAIL PROTECTED] Operating system: linux (probablly windows also) PHP version: 4.2.3 PHP Bug Type: Feature/Change Request Bug description: aggregate() having no parent::
if i agregate an object which is defined as such: class something extends content { ... } with a class making use of "parent::", it gives me a "no parent class available" - when it should recognise content as its parent if i had no "extends content" i would think of this as valid, but this way i dont - parent:: should be available if the object which aggregates a class has a parent perhaps something like the following should be considered as an example how method aggregation should work in 5.x (also the way it works in c++, basically i just did something i think is a php ekvivalent) <?php class testing { function testing() {} function boo(); } function testing::boo() { echo "a"; } $classss = new testing; $classss->boo(); ?> this way i could put functions into seperate files instead of having a 100k file with the class (if it requires that much code) -> having 10 5k files is easier to maintain than 1 50k file. -- Edit bug report at http://bugs.php.net/?id=20118&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20118&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20118&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20118&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20118&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20118&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20118&r=support Expected behavior: http://bugs.php.net/fix.php?id=20118&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20118&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20118&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20118&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20118&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20118&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20118&r=isapi