Re: [PHP4BETA] crash in latest Zend.
| From: | Andi Gutmans | Date: | Mon, 03 Jan 2000 21:24:37 +0000 |
| Subject: | Re: [PHP4BETA] crash in latest Zend. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8869@lists.php.net to get a copy of this message | ||
Just so php4beta know :)
It's fixed in the latest CVS. You can't use [] on variables which are strings, only on arrays.
Andi
At 08:35 PM 1/3/00 +0100, Thies C. Arntzen wrote:
offending code (does not reproduce the crash!) looks: while (list($id,$fields) = each($result))--- Andi Gutmans <andi@zend.com> http://www.zend.com/$list[ ] = $id . "#" . $fields[ $akey[ 1 ] ];maybe it helps? tc On Mon, 3 Jan 2000, Thies C. Arntzen wrote: i cannot track it down right now, but obvious place is zend_execute.c" line 718 offset = get_zval_ptr(op2, Ts, &free_op2, BP_VAR_R); if (offset->type != IS_LONG) { checking get_zval_ptr shows that it *can* return NULL on IS_UNSET so that offset->type will be a ZPR. regards, tcThies 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-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.netThies 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