[EMAIL PROTECTED] wrote:
> From: "Zoltán Németh" <[EMAIL PROTECTED]>
>>> function example($elem='') {
>>> static $store = array();
>> AFAIK the above line should cause an error on the second run of the
>> function, as you declare the same static variable for the second time.
>>
>> or am I wro
From: "Zoltán Németh" <[EMAIL PROTECTED]>
>> function example($elem='') {
>> static $store = array();
>
> AFAIK the above line should cause an error on the second run of the
> function, as you declare the same static variable for the second time.
>
> or am I wrong?
I think so - otherwise sta
2007. 11. 29, csütörtök keltezéssel 14.18-kor [EMAIL PROTECTED]
ezt írta:
> For some simple applications I use a function to collect values in a static
> variable and to return them when called in a special way, just like this
> (fairly senseless) example:
> function example($elem='') {
> sta
3 matches
Mail list logo