On 4/7/08 9:15 AM, Jarismar Chaves da Silva wrote:
Or something like this would be nice too, please avoid using +<TYPE> or (<TYPE>).

class test {
   public static Itest function testing($instance) {
      return $instance;
   }
}

I think this is the most intuitive approach. However, this means that regular function declarations would be like:

Itest function testing($instance) {
    return $instance;
}

Would this present a problem?

--
Ben Ramsey
http://benramsey.com/

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

Reply via email to