Bug #79790 [Asn->Csd]: "Illegal offset type" exception during AST evaluation not handled properly

From: Date: Tue, 07 Jul 2020 08:57:50 +0000
Subject: Bug #79790 [Asn->Csd]: "Illegal offset type" exception during AST evaluation not handled properly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227844@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79790&edit=1 ID: 79790 Updated by: nikic@php.net Reported by: changochen1 at gmail dot com Summary: "Illegal offset type" exception during AST evaluation not handled properly -Status: Assigned +Status: Closed Type: Bug Package: Scripting Engine problem PHP Version: 8.0Git-2020-07-04 (Git) Assigned To: nikic Block user comment: N Private report: N New Comment: Automatic comment on behalf of nikita.ppv@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=eaf6303a74729c2637154fc09ee44446864cb5f7 Log: Fixed bug #79790 Previous Comments: ------------------------------------------------------------------------ [2020-07-04 18:35:50] changochen1 at gmail dot com Description: ------------ LOG: --- php: /home/yongheng/php_clean/Zend/zend_operators.c:2380: int increment_function(zval *): Assertion `0' failed. --- Test script: --------------- <? b () ; function b ( $a = array () [ array () ] ) { ++ $c [ function () { }]; } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79790&edit=1

« previous php.bugs (#227844) next »