lua-users home
lua-l archive

Re: Why not Just PHP-stupid include?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 18 October 2011 23:42, Patrick Mc(avery
<patrick@spellingbeewinnars.org> wrote:
> why not just add a
> php-dumb-include that overrides local, as in local to that file for
> non-programmers and bill the other mechanisms as to be used by advanced
> users?
>
>
Because the reason to use local is for when you don't want anyone else
to be able to see the variable:
that is the whole point of local; and to remove that... why are you
using local in the first place??????
In this way, its like a global 'static' in a C file.

AltStyle によって変換されたページ (->オリジナル) /