Ionut Gabriel Stan wrote:
> echo Test::foo(); // outputs namespace function
> echo '';
> echo ::Test::foo(); // outputs namespace function
> My questions are:
>
> 1. How should I call the static method foo in the global class Test (except
> for call_user_func)
> 2. How should I call the sta
Stanislav Malyshev schreef:
Hi!
1. include.php
I would advise you to avoid calling your classes and namespaces by the
same name, for the sake of clarity - especially if you are going to have
identically named static f
Hi!
1. include.php
I would advise you to avoid calling your classes and namespaces by the
same name, for the sake of clarity - especially if you are going to have
identically named static functions in both. You can alw
Hi,
I've decided to play a little with namespaces as some of you asked for feedback
on this list or on your blogs. I'm just an userland developer and have no clue
about PHP internals so forgive me if I say something stupid in this regard.
Here's what I found on some simple test. It may be the in
> Looks great! Have been wanting similar behaviour in the lint
> function for a while. Just the question is how exhaustive is its
> checking. ( Any checking beyond current is pretty good, no
> complaints there, but just trying to see how useful it is ).
> Brief summary of the sort of situations