|
Posted by Gary L. Burnore on 10/19/79 11:50
On 17 Jun 2006 17:58:20 -0700, "Chung Leong"
<chernyshevsky@hotmail.com> wrote:
>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?
It can only know by the name of the class. It ain't perfect by any
means. It can be "fooled". You still have to know what you're doing.
--
gburnore at DataBasix dot Com
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
Official .sig, Accept no substitutes. | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ 0 1 7 2 3 / Ý³Þ 3 7 4 9 3 0 Û³
Black Helicopter Repair Services, Ltd.| Official Proof of Purchase
===========================================================================
[Back to original message]
|