]> granicus.if.org Git - php/commitdiff
Fix it here too
authorAndrei Zmievski <andrei@php.net>
Tue, 16 Aug 2005 18:21:04 +0000 (18:21 +0000)
committerAndrei Zmievski <andrei@php.net>
Tue, 16 Aug 2005 18:21:04 +0000 (18:21 +0000)
Zend/zend_compile.c

index 947cd7e465ff81a9f4966a3e5ff02c1416823eed..9e7303869c39b9f46d6690e0466a8f35c9da0120 100644 (file)
@@ -2380,7 +2380,7 @@ void zend_do_early_binding(TSRMLS_D)
                                        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) {