Re: Re: Bug #1401 Updated: Script dies during large outputs, sometimes with bogus parser error.
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Re: Bug #1401 Updated: Script dies during large outputs, sometimes with bogus parser error. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-5593@lists.php.net to get a copy of this message | ||
> I checked the status on the bug, to see if any addional notes had
> been made-- and found it closed! I am hoping that you will persue this
> problem, as I do feel it is a genuine php bug.
> If there is anything I can do to help narrow this problem, please
> let me now.
>
> I did strip out the html, etc. Please see my previous message.
You need to provide a much better example that shows the bug. I have
tried the URL you gave a half dozen times and have yet to see a PHP
parser error message like you said.
I am using: http://www.remotepoint.com/~jordanh/half_stats.php3
And I specify more than 600 in the limit box and always see this output at
the end:
0Cooked Function: $half_rec[$i]->cooked[$k] =
$half_rec[$i]->cook_playertime();
0.05 hrsCooked Function: $half_rec[$i]->cooked[$k] =
$half_rec[$i]->cook_weapon();
9mm Assault Rifle187
jirraCooked Function: $half_rec[$i]->cooked[$k] =
$half_rec[$i]->cook_frags();
No parser error there. PHP is doing exactly what it is supposed to do
given your script.
Now, it may be that it isn't doing what you think it should do, but that
is an entirely separate issue. You said it threw a parser error and it
doesn't. If your problem is different, then you need to explain that
explicitly. I suspect you are confused about those ugly eval() calls you
have in there. I see no reason for using an eval() there and I think what
you really meant to ask was how to do that assignment instead. But it
definitely does not look like a PHP bug to me, and thus the bug report has
been closed.
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net