cvs: ZendEngine2 / zend_compile.c

From: Date: Sat, 16 Oct 2004 23:17:58 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3098@lists.php.net to get a copy of this message
andi Sat Oct 16 19:17:58 2004 EDT Modified files: /ZendEngine2 zend_compile.c Log: - One more test (WS) http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.599&r2=1.600&ty=u Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.599 ZendEngine2/zend_compile.c:1.600 --- ZendEngine2/zend_compile.c:1.599 Sat Oct 16 19:16:50 2004 +++ ZendEngine2/zend_compile.c Sat Oct 16 19:17:58 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.599 2004/10/16 23:16:50 andi Exp $ */ +/* $Id: zend_compile.c,v 1.600 2004/10/16 23:17:58 andi Exp $ */ #include "zend_language_parser.h" #include "zend.h" @@ -1944,7 +1944,7 @@ /* Explicitly copy the default value from the parent (if it has one) */ zval **pvalue; - if (zend_hash_quick_find(&parent_ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, (void **) &pvalue)==SUCCESS) { + if (zend_hash_quick_find(&parent_ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, (void **) &pvalue) == SUCCESS) { (*pvalue)->refcount++; zend_hash_del(&ce->default_properties, child_info->name, child_info->name_length+1); zend_hash_quick_update(&ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, pvalue, sizeof(zval *), NULL);

« previous php.zend-engine.cvs (#3098) next »