]> granicus.if.org Git - php/commitdiff
- Need to do some rewriting in the parser instead of this.
authorAndi Gutmans <andi@php.net>
Sat, 11 Aug 2001 10:47:41 +0000 (10:47 +0000)
committerAndi Gutmans <andi@php.net>
Sat, 11 Aug 2001 10:47:41 +0000 (10:47 +0000)
Zend/zend_compile.c

index 735f067fd1040151e597cd80b3716e1e6a4ee0ac..e4ca86e726ab44a6251269a781d7bef14e8cf025 100644 (file)
@@ -539,9 +539,11 @@ void zend_do_end_variable_parse(int type, int arg_offset TSRMLS_DC)
        zend_llist_element *le;
        zend_op *opline, *opline_ptr;
 
+       /*
        if (zend_variable_buffer_empty(TSRMLS_C) && (type == BP_VAR_W || type == BP_VAR_RW)) {
                zend_error(E_ERROR, "Method can't be used as l-value");
        }
+       */
        zend_stack_top(&CG(bp_stack), (void **) &fetch_list_ptr);
 
        le = fetch_list_ptr->head;