Bug #79862 [Opn->Ver]: Assertion `(flag & (1<<3)) == 0' in _zend_hash_add_or_update_i
| From: | nikic@php.net | Date: | Wed, 15 Jul 2020 10:28:16 +0000 |
| Subject: | Bug #79862 [Opn->Ver]: Assertion `(flag & (1<<3)) == 0' in _zend_hash_add_or_update_i | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-228067@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79862&edit=1
ID: 79862
Updated by: nikic@php.net
Reported by: changochen1 at gmail dot com
Summary: Assertion `(flag & (1<<3)) == 0' in
_zend_hash_add_or_update_i
-Status: Open
+Status: Verified
Type: Bug
Package: Scripting Engine problem
-PHP Version: 8.0Git-2020-07-15 (Git)
+PHP Version: 7.4
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2020-07-15 04:55:20] changochen1 at gmail dot com
Description:
------------
LOG:
---
php: /home/yongheng/php_clean/Zend/zend_hash.c:756: zval *_zend_hash_add_or_update_i(HashTable *,
zend_string *, zval *, uint32_t): Assertion `(flag & (1<<3)) == 0' failed.
[1] 41947 abort ~/php_clean/bld/sapi/cli/php -f php_poc39.php
---
Test script:
---------------
<?
class a {
private static $b ;
function __construct () {
$this -> b = 'basemember' ;
}
}
class c extends a {
public $b ;
}
new c ;
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79862&edit=1