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!");
This is not necessery in php. As I know C++ has this feature but only so the class definition can be separated from its implementation. Definition goes to a header file so it can be included in other .cpp files in the same project.
Marek
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php