Posted by gosha bine on 07/24/07 08:46
On 24.07.2007 10:36 Yarco wrote:
> When using c++, we could do:
> using abc = xxx.yyy; // am i right?
>
> When using python we could do:
> import abc.efg as efg
>
> When will php support:
>
> class My_Best_Class
> {
> }
> define('MyClass', 'My_Best_Class');
> $o = new MyClass; // use MyClass as aliasname of My_Best_Class?
>
> It is very useful to me.
> Or do you have any good ideas to do such name alias?
>
Yes. Wait till php6 comes out. ;)
--
gosha bine
makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi
Navigation:
[Reply to this message]
|