Method implementation

php.internals

Unnamed Person

22 years ago
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, ...)