Re: php sometimes doesn't parses...
| From: | Leon Atkinson | Date: | Sat, 09 Dec 2000 03:55:36 +0000 |
| Subject: | Re: php sometimes doesn't parses... | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40633@lists.php.net to get a copy of this message | ||
This situation deserves a well-constructed test. If the probability of it
happening is really low, then we should try lots of iterations. I propose
the following test:
1. Create a script like
<? print("parsed"); ?>
2. Write a program in another language (Perl, C) that requests the PHP
script a large number of times. Count and record the returned
documents.
If every returned document contains just the line "parsed", then the bug is
not found. Any other response is the demonstration of some problem
(though not necessarily this bug). There is probably some risk of
encountering timeouts if the server is overloaded.
I'm not sure how many iterations is "large". Maybe someone else has
a suggestion.
I can't recall any time I've seen this bug.
Leon