ID: 11582
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating System: linux
PHP Version: 4.0.5, 4.0.6
New Comment:
Fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2001-07-22 08:11:04] [EMAIL PROTECTED]
yes, it does happen with 4.0.6 too.
but, i also tried 4.0.7-dev (CVS as of 1:30pm CEST) while i was at it.
i could not get that to barf with the test script.
-lukas
------------------------------------------------------------------------
[2001-07-21 18:49:58] [EMAIL PROTECTED]
Does this happen with 4.0.6?
------------------------------------------------------------------------
[2001-06-20 16:41:40] [EMAIL PROTECTED]
oops..
------------------------------------------------------------------------
[2001-06-20 16:41:27] [EMAIL PROTECTED]
status -> feedback
------------------------------------------------------------------------
[2001-06-20 15:05:37] [EMAIL PROTECTED]
hi,
it took some time to isolate the problem, but here is the
testcase. the segfault is not triggered if PHP was compiled --enable-debug version, in
which case it complains
that it "Cannot use scalar value as an array".
<?php
header("Content-type: text/plain");
$arr[data] = "scalar";
for ($i=0;$i < 200; $i++) {
print $i."\n";
// trying to use scalar value as an array
$arr[data][entries][] = array();
}
?>
i hope this helps.
regards,
lukas
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=11582
Edit this bug report at http://bugs.php.net/?id=11582&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]