will something in the likes of this be possible in php5? /***/
class some_classname { function some_function(); } function some_classname::some_function($prefix, $text) { return $prefix.": ".$text."\n"; } $test = new some_classname; $test->some_function("Output","Hello World!"); /***/ how about object/class aggregation from php4 (it was experimental and i imagine it still has a few bugs left, but it was a really usefull feature)..? i know the following is possible: class class_name implements class1, class2, class3 extends parent_class { ... } but, can you do something more dynamic, so you can tell which classes to implement at runtime? class class_name implemenets $vars extends parent_class ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php