[PATCH][ZE1] (resend) fix for bug #19943

[email protected] (Moriyoshi Koizumi)
Newsgroups php.dev
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.