andrei's point:
extensions should stick to either functional or oo API
PEAR wrappers can be provided

my point:
extensions should expose both APIs (if desired)
can be done by aliasing functions to class methods -> no duplicate c code
when called as function -> print warning
when called as method -> throw exception

What do you guys think of this?
  I would argue that having two different methods to
  do the same thing only leads to increased complexity and
  confusion. Sure, some people like it one way and some people
  another, but having a standard way of doing things is,
  IMHO, better.

Bye,
Ivan


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

Reply via email to