Bug #13588 Updated: Crash when making a normal string to an array
| From: | roelkw at xs4all dot nl | Date: | Tue, 04 Jun 2002 14:17:16 +0000 |
| Subject: | Bug #13588 Updated: Crash when making a normal string to an array | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9467@lists.php.net to get a copy of this message | ||
ID: 13588
Updated by: roelkw@xs4all.nl
Reported By: roelkw@xs4all.nl
Status: Closed
Bug Type: Scripting Engine problem
Operating System: WinXP build 2600 (final)
PHP Version: 4.0.6
New Comment:
I know it's open source and I really do understand it can take a litte
bit of time to answer, but this has taken 8 months.. I think that's a
bit too long. I really appreciate your work and I use it a lot, but I
think this is really too long.
Previous Comments:
------------------------------------------------------------------------
[2002-06-04 06:32:13] mfischer@php.net
> Why does it take such a long time before I recieve an answer?
Because we're all volunteers, no one gets paid, everyone has a real
job, etc. Welcome to opensource.
------------------------------------------------------------------------
[2002-06-04 06:18:17] roelkw@xs4all.nl
Now it works for me too, but with an old version it produced this
error. Why does it take such a long time before I recieve an answer?
------------------------------------------------------------------------
[2002-06-04 04:59:29] edink@php.net
Cannot reproduce this on PHP 4.2.1. Please try the new version and
reopen if the problem is still there.
------------------------------------------------------------------------
[2001-10-07 16:39:39] roelkw@xs4all.nl
When you create a variable and make it a string, like this:
$test = "hey";
and later on I change this to an array, like this:
$i++;
while ($row = mysql_fetch_array($res)) {
$test[$i]["id"] = $row["id"];
$test[$i]["name"] = $row["name"];
$i++;
}
Then PHP/Apache crashes on this line:
$test[$i]["name"] = $row["name"];
If I comment that line out, there's no crash!
Weird, isn't it?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=13588&edit=1