php-general Digest 8 Jun 2011 07:09:37 -0000 Issue 7350
Topics (messages 313439 through 313459):
Re: What do you get for ...
313439 by: Tim Streater
313440 by: Geoff Lane
Re: php hide menu
313441 by: tedd
313442 by: tedd
Fuzzy Array Search
313443 by: Floyd Resler
313444 by: Alex Nikitin
313445 by: Shawn McKenzie
313446 by: Alex Nikitin
313448 by: Floyd Resler
313450 by: Shawn McKenzie
313452 by: Alex Nikitin
313453 by: Shawn McKenzie
313455 by: Shawn McKenzie
advice on how to build this array from an array.
313447 by: Adam Preece
313451 by: Jasper Mulder
313454 by: Adam Preece
313457 by: Jim Lucas
Re: Going crazy with include & require not working
313449 by: Brian Dunning
php-cli-shebang
313456 by: Lists
313458 by: Lists
ftell Issue or Feature
313459 by: Christian Grobmeier
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
On 07 Jun 2011 at 11:35, Richard Quadling <[email protected]> wrote:
> What do you get for ...
>
> php -r "var_dump(realpath(null));"
OS X: string(10) "/Users/tim"
--
Cheers -- Tim
--- End Message ---
--- Begin Message ---
On Tuesday, June 7, 2011, Richard Quadling wrote:
> But the surprising issue is that your 5.1.6 returns bool(false). So
> far, that's the only report I've got that shows inconsistent
> behaviour for PHP5+
I too was surprised, which is why I took the time to report. AFAICT,
I've got the standard LAMP stack for CentOS 5.6 from the time I
developed the first application on it. The output from
print_r($_SERVER) contains the expected script-related paths and I
don't get issues running PHP scripts on this server either via Apache
or via cron (as shell scripts).
If specific output from this server would help, I may be able to give
this to you off-list.
HTH,
--
Geoff
--- End Message ---
--- Begin Message ---
At 11:40 PM -0500 6/6/11, Chris Stinemetz wrote:
I have three drop down menus in my form. How do I make it so the
second and third menus are only visible once the prior menu was
selected?
Chris:
You mean something like this?
http://php1.net/b/zipcode-states/
The explanation (and js) is there.
The back-end php is simply looking through database to populate the
"second selection control" based upon selection of the first; and
then populates the "third selection control" based upon the selection
of the second. It's not that complicated -- just take baby steps.
Cheers,
tedd
--
-------
http://sperling.com/
--- End Message ---
--- Begin Message ---
At 12:12 PM -0500 6/7/11, Chris Stinemetz wrote:
> Chris:
You mean something like this?
http://php1.net/b/zipcode-states/
The explanation (and js) is there.
Yes, do you have a tutorial to go with the demo?
Thank you,
The demo is a tutorial.
The javascript code is there -- just download it.
The code to populate the selection boxes is very similar to this:
http://www.php1.net/b/form-checkbox1/
From those two, you should be able to make your way. After all,
that's what I did.
Cheers,
tedd
PS: Also, please reply to the list and not me.
--
-------
http://sperling.com/
--- End Message ---
--- Begin Message ---
What would be the easiest way to do a fuzzy array search? Can I do this
without having to step through the array?
Thanks!
Floyd
--- End Message ---
--- Begin Message ---
What do you mean by "fuzzy search"? Like an approximate search, and instead
of you stepping through the array, you guesstimate where to start, or search
for approximate string value in an array of strings?
--
The trouble with programmers is that you can never tell what a programmer is
doing until it’s too late. ~Seymour Cray
On Tue, Jun 7, 2011 at 1:45 PM, Floyd Resler <[email protected]> wrote:
> What would be the easiest way to do a fuzzy array search? Can I do this
> without having to step through the array?
>
> Thanks!
> Floyd
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
On 06/07/2011 12:45 PM, Floyd Resler wrote:
> What would be the easiest way to do a fuzzy array search? Can I do this
> without having to step through the array?
>
> Thanks!
> Floyd
>
I use preg_grep()
--
Thanks!
-Shawn
http://www.spidean.com
--- End Message ---
--- Begin Message ---
If you don't need the location, you can implode the array and use preg
match, quickly testing it, that gives you about 4.5 times performance
increase, but it wont give you the location, only if a certain value exists
within the array... You can kind of do some really clever math to get your
search parameters from there, which would be feasible on really large data
sets, but if you want location, you will have to iterate at some point...
(sorry i keep on hitting reply instead of reply to all)
--
The trouble with programmers is that you can never tell what a programmer is
doing until it’s too late. ~Seymour Cray
On Tue, Jun 7, 2011 at 2:57 PM, Shawn McKenzie <[email protected]> wrote:
> On 06/07/2011 12:45 PM, Floyd Resler wrote:
> > What would be the easiest way to do a fuzzy array search? Can I do this
> without having to step through the array?
> >
> > Thanks!
> > Floyd
> >
>
> I use preg_grep()
>
> --
> Thanks!
> -Shawn
> http://www.spidean.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
On Jun 7, 2011, at 4:42 PM, Alex Nikitin wrote:
> If you don't need the location, you can implode the array and use preg
> match, quickly testing it, that gives you about 4.5 times performance
> increase, but it wont give you the location, only if a certain value exists
> within the array... You can kind of do some really clever math to get your
> search parameters from there, which would be feasible on really large data
> sets, but if you want location, you will have to iterate at some point...
>
> (sorry i keep on hitting reply instead of reply to all)
>
> --
> The trouble with programmers is that you can never tell what a programmer is
> doing until it’s too late. ~Seymour Cray
>
>
>
> On Tue, Jun 7, 2011 at 2:57 PM, Shawn McKenzie <[email protected]> wrote:
>
>> On 06/07/2011 12:45 PM, Floyd Resler wrote:
>>> What would be the easiest way to do a fuzzy array search? Can I do this
>> without having to step through the array?
>>>
>>> Thanks!
>>> Floyd
>>>
>>
>> I use preg_grep()
>>
>> --
>> Thanks!
>> -Shawn
>> http://www.spidean.com
>>
I actually do need the location since I need to get the resulting match. I
went ahead and tried to iterate the array and it was MUCH faster than I
expected it to be! Of course, considering the machine I'm running this on is a
monster (2.66 GHz 8 cores, 24GB of RAM) it shouldn't have surprised me!
Thanks!
Floyd
--- End Message ---
--- Begin Message ---
On 06/07/2011 03:57 PM, Floyd Resler wrote:
>
> On Jun 7, 2011, at 4:42 PM, Alex Nikitin wrote:
>
>> If you don't need the location, you can implode the array and use preg
>> match, quickly testing it, that gives you about 4.5 times performance
>> increase, but it wont give you the location, only if a certain value exists
>> within the array... You can kind of do some really clever math to get your
>> search parameters from there, which would be feasible on really large data
>> sets, but if you want location, you will have to iterate at some point...
>>
>> (sorry i keep on hitting reply instead of reply to all)
>>
>> --
>> The trouble with programmers is that you can never tell what a programmer is
>> doing until it’s too late. ~Seymour Cray
>>
>>
>>
>> On Tue, Jun 7, 2011 at 2:57 PM, Shawn McKenzie <[email protected]> wrote:
>>
>>> On 06/07/2011 12:45 PM, Floyd Resler wrote:
>>>> What would be the easiest way to do a fuzzy array search? Can I do this
>>> without having to step through the array?
>>>>
>>>> Thanks!
>>>> Floyd
>>>>
>>>
>>> I use preg_grep()
>>>
>>> --
>>> Thanks!
>>> -Shawn
>>> http://www.spidean.com
>>>
>
> I actually do need the location since I need to get the resulting match. I
> went ahead and tried to iterate the array and it was MUCH faster than I
> expected it to be! Of course, considering the machine I'm running this on is
> a monster (2.66 GHz 8 cores, 24GB of RAM) it shouldn't have surprised me!
>
> Thanks!
> Floyd
>
If you are using a straight equality comparison then the loop would be
faster (but then array search would probably be better), however if you
need to use a preg_match() in the loop ("fuzzy search"), then
preg_grep() will be much faster than the loop.
LOOP WITH PREG_MATCH: 100000
0.435957 seconds
PREG_GREP: 100000
0.085604 seconds
LOOP WITH IF ==: 100000
0.044594 seconds
PREG_GREP: 100000
0.091519 seconds
--
Thanks!
-Shawn
http://www.spidean.com
--- End Message ---
--- Begin Message ---
It runs fast on my 2.33 core 2, and about as fast on this small data set, on
the dual 6 core with 96GB ram, or the 8 core 9GB box, it depends on the size
of your data set, memory speed and latency, and miniscule amount of
processing power (once again assuming small data set).
That said, you could probably do some clever stuff to minimize the range you
are looking for. For example, you could use the average record size with
imploding the array and searching, capturing the offset, you could
potentially cut out a lot of records that you are, within a certain
probability sure that the result is not in, making your search execute
faster by not even looking in the majority of data in most cases, this would
be interesting to test out actually. You could sort the array to further
narrow down the search by some criteria, what have you. This would all apply
if you are searching very large data sets, i am talking about multiple
billion data points. And all that said, arrays are not really a good
data-structure for searching anyways, that's why they are rarely used in
file systems or as memory data structures ;)
Shawn, == is not good for string comparison, its a bad habit that one should
get out of, use ===, its much safer .
Also try the same algorithm on 100000 arrays of some number of values
10-1000 perhaps, that would give you better performance statistics :)
-- Alex
--
The trouble with programmers is that you can never tell what a programmer is
doing until it’s too late. ~Seymour Cray
On Tue, Jun 7, 2011 at 5:25 PM, Shawn McKenzie <[email protected]> wrote:
> On 06/07/2011 03:57 PM, Floyd Resler wrote:
> >
> > On Jun 7, 2011, at 4:42 PM, Alex Nikitin wrote:
> >
> >> If you don't need the location, you can implode the array and use preg
> >> match, quickly testing it, that gives you about 4.5 times performance
> >> increase, but it wont give you the location, only if a certain value
> exists
> >> within the array... You can kind of do some really clever math to get
> your
> >> search parameters from there, which would be feasible on really large
> data
> >> sets, but if you want location, you will have to iterate at some
> point...
> >>
> >> (sorry i keep on hitting reply instead of reply to all)
> >>
> >> --
> >> The trouble with programmers is that you can never tell what a
> programmer is
> >> doing until it’s too late. ~Seymour Cray
> >>
> >>
> >>
> >> On Tue, Jun 7, 2011 at 2:57 PM, Shawn McKenzie <[email protected]>
> wrote:
> >>
> >>> On 06/07/2011 12:45 PM, Floyd Resler wrote:
> >>>> What would be the easiest way to do a fuzzy array search? Can I do
> this
> >>> without having to step through the array?
> >>>>
> >>>> Thanks!
> >>>> Floyd
> >>>>
> >>>
> >>> I use preg_grep()
> >>>
> >>> --
> >>> Thanks!
> >>> -Shawn
> >>> http://www.spidean.com
> >>>
> >
> > I actually do need the location since I need to get the resulting match.
> I went ahead and tried to iterate the array and it was MUCH faster than I
> expected it to be! Of course, considering the machine I'm running this on
> is a monster (2.66 GHz 8 cores, 24GB of RAM) it shouldn't have surprised me!
> >
> > Thanks!
> > Floyd
> >
>
> If you are using a straight equality comparison then the loop would be
> faster (but then array search would probably be better), however if you
> need to use a preg_match() in the loop ("fuzzy search"), then
> preg_grep() will be much faster than the loop.
>
> LOOP WITH PREG_MATCH: 100000
> 0.435957 seconds
> PREG_GREP: 100000
> 0.085604 seconds
>
> LOOP WITH IF ==: 100000
> 0.044594 seconds
> PREG_GREP: 100000
> 0.091519 seconds
>
> --
> Thanks!
> -Shawn
> http://www.spidean.com
>
--- End Message ---
--- Begin Message ---
On 06/07/2011 04:28 PM, Floyd Resler wrote:
>
> Shawn,
> I'm terrible with regular expressions. Could you give me an example?
>
> Thanks!
> Floyd
>
>
Depends. Could be as simple as this to return an array of all
occurrences of $needle in any of the $haystack_array values:
$haystack_array = array('something is here', 'nothing matches here',
'there will be a somethingsomething match here');
$needle = 'something';
$matches_array = preg_grep("/$needle/", $haystack_array);
Depends on where you are getting the search criteria and how you want it
to match in the array. BTW... If this is originally in a database then
you can do it there with the LIKE operator and % wildcard.
--- End Message ---
--- Begin Message ---
On 06/07/2011 04:35 PM, Alex Nikitin wrote:
> Shawn, == is not good for string comparison, its a bad habit that one
> should get out of, use ===, its much safer .
Yes, except that I was comparing a string to an array of integers :)
>
> Also try the same algorithm on 100000 arrays of some number of values
> 10-1000 perhaps, that would give you better performance statistics :)
>
LOOP WITH PREG MATCH: 650.627260 seconds
PREG_GREP: 123.110386 seconds
This was with 100,000 arrays each with 1,000 values. Of course the loop
iterates through the entire loop which is needed to find all matches.
If only one match is needed then you can just break out of the loop to
save time. If we assume that half of the matches will be in the lower
500 and half in the upper then we can half the time for the loop but it
is still 325 seconds.
Thanks!
-Shawn
--- End Message ---
--- Begin Message ---
hi all,
please forgive me if i do not make sense, ill try my best to explain.
i have this array or arrays.
Array ( [name] => super duplex stainless steels [id] => 30 [page_cat_id] => 10
[main_nav] => true [cat_name] => material range )
Array ( [name] => standard stainless steels [id] => 31 [page_cat_id] => 10
[main_nav] => true [cat_name] => material range )
Array ( [name] => non ferrous [id] => 32 [page_cat_id] => 10 [main_nav] =>
true [cat_name] => material range )
Array ( [name] => carbon based steels [id] => 33 [page_cat_id] => 10 [main_nav]
=> true [cat_name] => material range )
is it possible to build an array and use the [cat_name] as the key and assign
all the pages to that cat_name?
what im trying to achieve is a category of pages but i want the cat_name as the
key to all the pages associated to it
hope i make sense
kind regards
Adam
--- End Message ---
--- Begin Message ---
----------------------------------------
> From: [email protected]
> Date: Tue, 7 Jun 2011 21:50:27 +0100
> To: [email protected]
> Subject: [PHP] advice on how to build this array from an array.
>
> hi all,
>
> please forgive me if i do not make sense, ill try my best to explain.
>
>
> i have this array or arrays.
>
> Array ( [name] => super duplex stainless steels [id] => 30 [page_cat_id] =>
> 10 [main_nav] => true [cat_name] => material range )
> Array ( [name] => standard stainless steels [id] => 31 [page_cat_id] => 10
> [main_nav] => true [cat_name] => material range )
> Array ( [name] => non ferrous [id] => 32 [page_cat_id] => 10 [main_nav] =>
> true [cat_name] => material range )
> Array ( [name] => carbon based steels [id] => 33 [page_cat_id] => 10
> [main_nav] => true [cat_name] => material range )
>
> is it possible to build an array and use the [cat_name] as the key and assign
> all the pages to that cat_name?
>
> what im trying to achieve is a category of pages but i want the cat_name as
> the key to all the pages associated to it
>
> hope i make sense
>
> kind regards
>
> Adam
Suppose that $arrays is your array of arrays.
Then is
$res = array();
foreach($arrays as $item){
$res[$item['cat_name']][] = $item;
}
what you are looking for?
Best regards,
Jasper Mulder
--- End Message ---
--- Begin Message ---
hi,
thanks for your reply.
i have figured out, well kind of, and got the data i need but the problem is
its nested within to many arrays!
Array (
[threads & form types] =>
Array ( [0] => Array ( [name] => imperial thread form [id] =>
28 [page_cat_id] => 9 [main_nav] => true ) [1] => Array ( [name] => metric iso
threads [id] => 29 [page_cat_id] => 9 [main_nav] => true ) )
[material range] =>
Array ( [0] => Array ( [name] => super duplex stainless steels
[id] => 30 [page_cat_id] => 10 [main_nav] => true ) [1] => Array ( [name] =>
standard stainless steels [id] => 31 [page_cat_id] => 10 [main_nav] => true )
[2] => Array ( [name] => non ferrous [id] => 32 [page_cat_id] => 10 [main_nav]
=> true ) [3] => Array ( [name] => carbon based steels [id] => 33
[page_cat_id] => 10 [main_nav] => true ) )
)
how can i get this just do its a $k => $v pair,
the key as it is [threads & form types] && [material range], and the value, the
single array [Array ( [name] => imperial thread form [id] => 28 [page_cat_id]
=> 9 [main_nav] => true ) [1] => Array ( [name] => metric iso threads [id] =>
29 [page_cat_id] => 9 [main_nav] => true )] ?
hope this makes sense
Adam
On 7 Jun 2011, at 22:25, Jasper Mulder wrote:
>
> ----------------------------------------
>> From: [email protected]
>> Date: Tue, 7 Jun 2011 21:50:27 +0100
>> To: [email protected]
>> Subject: [PHP] advice on how to build this array from an array.
>>
>> hi all,
>>
>> please forgive me if i do not make sense, ill try my best to explain.
>>
>>
>> i have this array or arrays.
>>
>> Array ( [name] => super duplex stainless steels [id] => 30 [page_cat_id] =>
>> 10 [main_nav] => true [cat_name] => material range )
>> Array ( [name] => standard stainless steels [id] => 31 [page_cat_id] => 10
>> [main_nav] => true [cat_name] => material range )
>> Array ( [name] => non ferrous [id] => 32 [page_cat_id] => 10 [main_nav] =>
>> true [cat_name] => material range )
>> Array ( [name] => carbon based steels [id] => 33 [page_cat_id] => 10
>> [main_nav] => true [cat_name] => material range )
>>
>> is it possible to build an array and use the [cat_name] as the key and
>> assign all the pages to that cat_name?
>>
>> what im trying to achieve is a category of pages but i want the cat_name as
>> the key to all the pages associated to it
>>
>> hope i make sense
>>
>> kind regards
>>
>> Adam
>
> Suppose that $arrays is your array of arrays.
> Then is
> $res = array();
> foreach($arrays as $item){
> $res[$item['cat_name']][] = $item;
> }
> what you are looking for?
>
> Best regards,
> Jasper Mulder
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
On 6/7/2011 2:44 PM, Adam Preece wrote:
> hi,
>
> thanks for your reply.
>
> i have figured out, well kind of, and got the data i need but the problem is
> its nested within to many arrays!
>
> Array (
> [threads & form types] =>
> Array ( [0] => Array ( [name] => imperial thread form [id] =>
> 28 [page_cat_id] => 9 [main_nav] => true ) [1] => Array ( [name] => metric
> iso threads [id] => 29 [page_cat_id] => 9 [main_nav] => true ) )
> [material range] =>
> Array ( [0] => Array ( [name] => super duplex stainless steels
> [id] => 30 [page_cat_id] => 10 [main_nav] => true ) [1] => Array ( [name] =>
> standard stainless steels [id] => 31 [page_cat_id] => 10 [main_nav] => true )
> [2] => Array ( [name] => non ferrous [id] => 32 [page_cat_id] => 10
> [main_nav] => true ) [3] => Array ( [name] => carbon based steels [id]
> => 33 [page_cat_id] => 10 [main_nav] => true ) )
> )
>
> how can i get this just do its a $k => $v pair,
>
> the key as it is [threads & form types] && [material range], and the value,
> the single array [Array ( [name] => imperial thread form [id] => 28
> [page_cat_id] => 9 [main_nav] => true ) [1] => Array ( [name] => metric iso
> threads [id] => 29 [page_cat_id] => 9 [main_nav] => true )] ?
>
> hope this makes sense
>
> Adam
>
>
> On 7 Jun 2011, at 22:25, Jasper Mulder wrote:
>
>>
>> ----------------------------------------
>>> From: [email protected]
>>> Date: Tue, 7 Jun 2011 21:50:27 +0100
>>> To: [email protected]
>>> Subject: [PHP] advice on how to build this array from an array.
>>>
>>> hi all,
>>>
>>> please forgive me if i do not make sense, ill try my best to explain.
>>>
>>>
>>> i have this array or arrays.
>>>
>>> Array ( [name] => super duplex stainless steels [id] => 30 [page_cat_id] =>
>>> 10 [main_nav] => true [cat_name] => material range )
>>> Array ( [name] => standard stainless steels [id] => 31 [page_cat_id] => 10
>>> [main_nav] => true [cat_name] => material range )
>>> Array ( [name] => non ferrous [id] => 32 [page_cat_id] => 10 [main_nav] =>
>>> true [cat_name] => material range )
>>> Array ( [name] => carbon based steels [id] => 33 [page_cat_id] => 10
>>> [main_nav] => true [cat_name] => material range )
>>>
>>> is it possible to build an array and use the [cat_name] as the key and
>>> assign all the pages to that cat_name?
>>>
>>> what im trying to achieve is a category of pages but i want the cat_name as
>>> the key to all the pages associated to it
>>>
>>> hope i make sense
>>>
>>> kind regards
>>>
>>> Adam
>>
>> Suppose that $arrays is your array of arrays.
>> Then is
>> $res = array();
>> foreach($arrays as $item){
>> $res[$item['cat_name']][] = $item;
>> }
>> what you are looking for?
>>
>> Best regards,
>> Jasper Mulder
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>
How about showing your code?
--- End Message ---
--- Begin Message ---
Thanks, this helped me solve it. FPDI extends a class in FPDF, so I simply had
to reverse the order in which I call them and all is hunky dory.
On Jun 6, 2011, at 5:54 PM, Michael Shadle wrote:
>
> ini_set('display_errors', 1);
>
--- End Message ---
--- Begin Message ---
Windows Server 2003
PHP fastcgi 5.2
Hello,
I am needing to call a php script from another language, so I am using cli.
I have it basically working but have a couple questions.
First, what is the (suggested) '-q' flag for in the shebang script?
last, my shell is returning the actual call along with the output...
which I don't want the call, just the output.
ie, the call is:
[dos]php-cgi.exe -f C:\<path>\phpscript.php[/dos]
'phpscript.php' is as follows:
----------phpscript.php-----------
#!C:\<path>\php-cgi.exe -q
<?php echo "Hello world of PHP CLI!"; ?>
----------------------------------
This is what is returned:
C:\edc>php-cgi.exe -f C:\<path>\phpscript.php
Hello world of PHP CLI!
I want only: "Hello world of PHP CLI!"
Is there a way to suppress the call?
Cheers,
Donovan
--
dbrooke
--- End Message ---
--- Begin Message ---
Lists wrote:
Windows Server 2003
PHP fastcgi 5.2
O.K. '-q' is quiet mode (no header info), which works better when not
using the -f flag when calling the script (it appears).
anyway, I solved my issues with a work around, so no worries.
Donovan
--
dbrooke
--- End Message ---
--- Begin Message ---
Hello,
I am one of the log4php [1] hackers over at the ASF. We (thats Ivan
Habunek and myself) have now a nasty issue for which we would be glad
about input.
Use case:
Once the log file got a specific size, it will be rolled over. In
other terms, the big logfile gets closed and a new one is opened. This
is supposed to work in a multithreaded environment of course. The user
now claims about multiple creations of small logfiles.
Code [2]:
if(ftell($this->fp) > $this->getMaxFileSize()) {
if(flock($this->fp, LOCK_EX)) {
if(ftell($this->fp) > $this->getMaxFileSize()) {
$this->rollOver();
}
}
}
This is the rollover code. We check with ftell, were the latest
position is and if it is to big, we try to get a lock. If it is to big
after we have the lock, we roll it over.
Here mulitiple threads can reach the flock position- then they all
wait until they get the lock of this file. If it has been rolled by a
previous thread, they should have got an updated reference to
$this->fp and skip the rolling.
So, Ivan found out that in the case, we do the second ftell we do not
get updated positions when another thread has written into the file.
The object itself is always the same, for all threads. Every thread
gets this "Appender" from a kind of a pool.
My guess is, every thread gets some kind of a copy of this object,
working at it. Once it reaches the method, its members states are not
reflected into the other stack call.
Docs don't tell me anything for my case. I would be really glad about
suggestions, help, links whatever.
Thanks!
Cheers,
Christian
[1] logging.apache.org/log4php
[2]
https://svn.apache.org/repos/asf/logging/log4php/trunk/src/main/php/appenders/LoggerAppenderRollingFile.php
--- End Message ---