Re: [PHP-DEV] [patch] Separating ZEND_METHOD and ZEND_FUNCTION

2006-03-03 Thread Pierre
On 3/3/06, Andi Gutmans <[EMAIL PROTECTED]> wrote: > Makes sense to me. For me too, I was requesting that on IRC and Johannes wrote the patch, thanks :-) A perfect example of this need is the current zip extension, I have both a zip_open function and a zip::open method, acting differently. Many e

Re: [PHP-DEV] [patch] Separating ZEND_METHOD and ZEND_FUNCTION

2006-03-03 Thread Andi Gutmans
Makes sense to me. At 02:30 PM 3/3/2006, Johannes Schlueter wrote: Hi, following a recent discussion on IRC I'd like to propose a little patch separating ZEND_FUNCTION and ZEND_METHOD. Currently functions declared as ZEND_FUNCTION are named zif_exported_name. Class methods are exported as zif_

[PHP-DEV] [patch] Separating ZEND_METHOD and ZEND_FUNCTION

2006-03-03 Thread Johannes Schlueter
Hi, following a recent discussion on IRC I'd like to propose a little patch separating ZEND_FUNCTION and ZEND_METHOD. Currently functions declared as ZEND_FUNCTION are named zif_exported_name. Class methods are exported as zif_class_method. If you try to create a PHP function called foo_bar bu