Bug #79778 [Asn->Csd]: Assertion failure if dumping closure with unresolved static variable

From: Date: Tue, 07 Jul 2020 08:21:02 +0000
Subject: Bug #79778 [Asn->Csd]: Assertion failure if dumping closure with unresolved static variable
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227842@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79778&edit=1 ID: 79778 Updated by: nikic@php.net Reported by: changochen1 at gmail dot com Summary: Assertion failure if dumping closure with unresolved static variable -Status: Assigned +Status: Closed Type: Bug Package: Scripting Engine problem PHP Version: 8.0Git-2020-07-03 (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=b765f96f5f6d7d5da77e1d57f80b98f1fde16cde Log: Fixed bug #79778 Previous Comments: ------------------------------------------------------------------------ [2020-07-03 20:28:19] changochen1 at gmail dot com Description: ------------ Log: /home/yongheng/php-src/Zend/zend_operators.c:915: zend_string *__zval_get_string_func(zval *, zend_bool): Assertion `0' failed. Cmdline: php -f poc Test script: --------------- <? print_r ( function () {static $a = b;}) ; ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79778&edit=1

« previous php.bugs (#227842) next »