Re: [PHP-DEV] overload extension

2004-05-30 Thread Andi Gutmans
Yep. Andi At 04:00 PM 5/30/2004 +0300, Stanislav Malyshev wrote: Do I understand right that overload extension is dead in PHP5? We probably need to put some note in the manual then. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP I

Re: [PHP-DEV] overload extension

2003-10-24 Thread Alan Knowles
This does appear to fix it.. (diff attached) - however I'm not sure if there are any knock on effects that this may cause? Regards alan [EMAIL PROTECTED] wrote: This may be where the problem: zend_get_parameters_array_ex(ZEND_NUM_ARGS(), args); Would this do the trick? zend_get_parameter

Re: [PHP-DEV] overload extension

2003-10-23 Thread LingWitt
This may be where the problem: zend_get_parameters_array_ex(ZEND_NUM_ARGS(), args); Would this do the trick? zend_get_parameters_array(ZEND_NUM_ARGS(), args); On Wednesday, Oct 22, 2003, at 20:47 America/New_York, Alan Knowles wrote: There is already a bug report on it, however It sounds like

Re: [PHP-DEV] overload extension

2003-10-22 Thread LingWitt
This may be where the problem: zend_get_parameters_array_ex(ZEND_NUM_ARGS(), args); Would this do the trick? zend_get_parameters_array(ZEND_NUM_ARGS(), args); On Wednesday, Oct 22, 2003, at 20:47 America/New_York, Alan Knowles wrote: There is already a bug report on it, however It sounds like

Re: [PHP-DEV] overload extension

2003-10-22 Thread Alan Knowles
There is already a bug report on it, however It sounds like it's unlikely to be fixed in PHP4... Regards Alan [EMAIL PROTECTED] wrote: The methods of an object that has been passed to the overload() function lose their ability to have parameters passed by reference. For example: class Foo {

RE: [PHP-DEV] overload extension

2003-10-22 Thread Dennis Sterzenbach
Hi, > The methods of an object that has been passed to the overload() > function lose their ability to have parameters passed by > reference. For > example: > > class Foo > { > function hello(&$array) > { > $array[] = "hello"; > } > } > > $array = null; > $foo = & new foo()