It would be interesting to have variable methods:

$object->method = 'method1';
$object->method();

The trouble is all of the extra method mechanisms, so perhaps functions should be defined with access too. Also, one should be able to include $this or have it understood.

public function method1($this, ...)

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to