andrei Tue Aug 16 14:21:07 2005 EDT
Modified files:
/ZendEngine2 zend_compile.c
Log:
Fix it here too
http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.653&r2=1.654&ty=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.653 ZendEngine2/zend_compile.c:1.654
--- ZendEngine2/zend_compile.c:1.653 Mon Aug 15 10:39:18 2005
+++ ZendEngine2/zend_compile.c Tue Aug 16 14:21:04 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.653 2005/08/15 14:39:18 dmitry Exp $ */
+/* $Id: zend_compile.c,v 1.654 2005/08/16 18:21:04 andrei Exp $ */
#include <zend_language_parser.h>
#include "zend.h"
@@ -2380,7 +2380,7 @@
zval *parent_name =
&(opline-1)->op2.u.constant;
zend_class_entry **pce;
- if
(zend_u_lookup_class(Z_TYPE_P(parent_name), Z_STRVAL_P(parent_name),
Z_STRLEN_P(parent_name), &pce TSRMLS_CC) == FAILURE) {
+ if
(zend_u_lookup_class(Z_TYPE_P(parent_name), Z_UNIVAL_P(parent_name),
Z_UNILEN_P(parent_name), &pce TSRMLS_CC) == FAILURE) {
return;
}
if (do_bind_inherited_class(opline,
CG(class_table), *pce, 1 TSRMLS_CC) == NULL) {
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|