[PATCH][ZE1] (resend) fix for bug #19943
| From: | Moriyoshi Koizumi | Date: | Wed, 05 Mar 2003 04:26:50 +0000 |
| Subject: | [PATCH][ZE1] (resend) fix for bug #19943 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-94790@lists.php.net to get a copy of this message | ||
Hi,
Could anyone review this patch again? (I sent this one before the release
of 4.3.0 actually.) The patch is against ZE1 and addresses memleaks that
occur when brackets are used to access an element in a string like below.
patch:
http://marc.theaimsgroup.com/?l=php-dev&m=103654899426422&q=p3
snippet:
<?php
$ar = array();
for ($count = 0; $count < 10; $count++) {
$ar[$count] = "$count";
$ar[$count]['idx'] = "$count";
}
for ($count = 0; $count < 10; $count++) {
echo $ar[$count]." -- ".$ar[$count]['idx']."\n";
}
?>
Regards,
Moriyoshi