From: Andi Gutmans Date: Sat, 11 Aug 2001 10:47:41 +0000 (+0000) Subject: - Need to do some rewriting in the parser instead of this. X-Git-Tag: BEFORE_EXP_MERGE~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73d4931dac11abfdf56c8896e9616b3e44fdabac;p=php - Need to do some rewriting in the parser instead of this. --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 735f067fd1..e4ca86e726 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -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;