Re: I am stumped

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

 



> On Apr 29, 2018, at 4:02 PM, James Moe <jimoe@xxxxxxxxxxxxxx> wrote:
> 
> On 04/28/2018 09:16 PM, Jeffry Killen wrote:
> 
>> The following is the result:
>> testBed is the directory being read for this
>> 
>  What is the OS's listing of the directory? We have no way of knowing
> really what is there and if it matches your results.
> 
>> Why is testBed/test_1 included and the value is 1
>> instead of 'directory'.
>> 
>  How do you initialize "self::$_dirsToRead" before calling
> getDirListSingle()?


I solved this.
I was using self::$_dirsToRead for another purpose as well as this
and as a static variable it was retaining values from the other use.
So I created a different static variable for this purpose. Now it is
working as expected.

Thank you for time and attention and thoughts 

JK


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux