"Laborda" <[EMAIL PROTECTED]> wrote in message
005201c2cfe9$47c704b0$ad629c40@galaxy">news:005201c2cfe9$47c704b0$ad629c40@galaxy...
>
> Hello,
>
> I have a question.. Does PHP have support for Class Interfaces
declaration?
> What in Java would be:
>
> ? If not, how can I do this?.. Thanks a lot.

Well, interfaces are needed in Java since it is a statically typed language.
For dynamically typed language like php there is no need for it. If you
would like to do it just for the documentation sake, than write abstract
class like:

class pehro_interface {
function a1() {}
function a2() {}
function a3() {}
}


rush
--
http://www.templatetamer.com/




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to