opline2->op2.op_type == 0, which should be opline2->op2.op_type ==
IS_UNUSED. patch followed:

$ cvs diff zend_compile.c
Index: zend_compile.c
===================================================================
RCS file: /repository/ZendEngine2/zend_compile.c,v
retrieving revision 1.647.2.27.2.41.2.95
diff -u -r1.647.2.27.2.41.2.95 zend_compile.c
--- zend_compile.c  26 Nov 2008 00:57:05 -0000  1.647.2.27.2.41.2.95
+++ zend_compile.c  12 Dec 2008 04:54:42 -0000
@@ -1664,6 +1664,7 @@
        Z_LVAL(opline2->op1.u.constant) = prefix_len;
        /* this is the hash of the non-prefixed part, lowercased */
        opline2->extended_value = zend_hash_func(slash+1, name_len+1);
+       SET_UNUSED(opline2->op2);
    } else {
        opline->opcode = ZEND_INIT_FCALL_BY_NAME;
        opline->op2 = *function_name;

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to