Re: [PHP4BETA] Big libzend update
| From: | Thies C. Arntzen | Date: | Wed, 29 Sep 1999 12:30:16 +0000 |
| Subject: | Re: [PHP4BETA] Big libzend update | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5011@lists.php.net to get a copy of this message | ||
On Tue, 28 Sep 1999, Andi Gutmans wrote:
> Hi guys,
>
> I have just commited a big patch to libzend. There are still some patches
> to follow but this patch hopefully doesn't break too much.
> If you want to check out the tree before my patch use the tag
> PRE_FETCH_READ_PATCH.
>
> However, I'd prefer for you to get the current tree and test it on your
> scripts.
weird one - andi,
you cannot pass resources over file-boundaries?!?!?
let me show:
f1.php:
<?php
function hallo($a)
{ echo "hallo\n";flush();
}
include "f2.php";
$myc = xml_parser_create();
hallo($myc);
tubu($myc);
?>
f2.php
<?
function tubu($a)
{ echo "tubu\n";flush();
}
?>
./php f1.php
Content-Type: text/html
hallo
SIGSEGV caught on opcode 64 on opline 12 of main() at ../crash/f1.php:8
regards,
tc
PS:
"+=" still complains about mem-leaks...
sample.
<?
$a = array(1);
$b = array();
$b += $a;
?>
> ---
> Andi Gutmans <andi@zend.com>
> http://www.zend.com/
>
> --
> PHP 4 Beta
>
>
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