Re: [PHP4BETA] @function in shutdown still leaks.
| From: | Thies C. Arntzen | Date: | Mon, 20 Dec 1999 15:33:27 +0000 |
| Subject: | Re: [PHP4BETA] @function in shutdown still leaks. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8229@lists.php.net to get a copy of this message | ||
here we go...
<?
function a()
{ return count(array());
}
print a();
?>
...you owe me a beer
tc
On Mon, 20 Dec 1999 zeev@zend.com wrote:
> Ok, but this isn't as bad as the crashes you were talking about... Do
> they still occur? A test case would really be great...
>
> I'll take a look at this bug soon. Do you happen to know if that's a new
> bug or not? (i.e., did you test this with Zend before the
> return-references patch was merged into the main tree?)
>
> Zeev
>
> On Mon, 20 Dec 1999, Thies C. Arntzen wrote:
>
> > testcase again:
> >
> > <?php
> > function e()
> > {
> > @fopen("/tmp/thies.tcsh","r");
> > }
> >
> > register_shutdown_function("e");
> > ?>
> >
> >
> >
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany