Re: I am stumped

From: Date: Mon, 30 Apr 2018 17:07:13 +0000
Subject: Re: I am stumped
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-326456@lists.php.net to get a copy of this message
> On Apr 29, 2018, at 4:02 PM, James Moe <jimoe@sohnen-moe.com> 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

« previous php.general (#326456) next »