[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why not Just PHP-stupid include?
- From: Daurnimator <quae@...>
- Date: Tue, 18 Oct 2011 23:57:54 +1100
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.