| 
 Posted by Markus Ernst on 09/07/05 14:31 
Hilarion wrote: 
> 
> You should be more type-safe. I mean if the reference is always to an 
> object of specific class and is mostly used as the class, then you 
> should make sure, that it's always referred to as this class, not 
> some base class. Eg. you should use type hinting in PHP 5 and "instanceof"  
> operator 
> (in PHP 5) or "is_a" function (in PHP 4 or 5). 
 
I see I got myself into some complicated things here and will have to spend  
some more time with the manual :-)
 
  
Navigation:
[Reply to this message] 
 |