Bug #70151 [Asn->Nab]: soap/php_encoding.c uses wrong type to call unset_property

From: Date: Mon, 27 Jul 2015 08:16:07 +0000
Subject: Bug #70151 [Asn->Nab]: soap/php_encoding.c uses wrong type to call unset_property
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194745@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70151&edit=1 ID: 70151 Updated by: stas@php.net Reported by: stas@php.net Summary: soap/php_encoding.c uses wrong type to call unset_property -Status: Assigned +Status: Not a bug Type: Bug Package: SOAP related Operating System: * PHP Version: 5.6.11 Assigned To: stas Block user comment: N Private report: N New Comment: Oops, no, the code is correct, my mistake. Previous Comments: ------------------------------------------------------------------------ [2015-07-27 08:14:09] stas@php.net Description: ------------ soap/php_encoding.c has this code in unset_zval_property(): zval member; zend_class_entry *old_scope; INIT_PZVAL(&member); ZVAL_STRING(&member, name, 0); old_scope = EG(scope); EG(scope) = Z_OBJCE_P(object); Z_OBJ_HT_P(object)->unset_property(object, &member, 0 TSRMLS_CC); However, since 5.4 the signature of unset_property is: void (*zend_object_unset_property_t)(zval *object, zval *member, const struct _zend_literal *key TSRMLS_DC); So this code needs to be updated. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70151&edit=1

« previous php.bugs (#194745) next »