Posted by Chung Leong on 12/18/00 11:50
Gary L. Burnore wrote:
> >2. If you've defined a class and some methods, when you instantiate
> >that class, it knows the type of the object, so when you do a
> >
> >MyClass $obj = new MyClass('arg');
> >$obj->
> >
> >it shows the pop-up again with the members and the public interface of
> >the class MyClass.
>
> Again yes, both do.
Hmmm...how could that be done in PHP, where variables are typeless?
[Back to original message]
|