Re: [PHP-DEV] passing by reference

2002-02-13 Thread Andi Gutmans
At 07:28 PM 2/12/2002 +0100, Markus Fischer wrote: >On Tue, Feb 12, 2002 at 10:05:06AM -0500, Chad Cunningham wrote : > > 4.1.1 seems to have gotten rid of ParameterPassedByReference. What is the > > proper, backwards compatable way to handle this now? > > PZVAL_IS_REF(z) defined in zend.h Ev

Re: [PHP-DEV] passing by reference

2002-02-13 Thread Andi Gutmans
At 10:05 AM 2/12/2002 -0500, Chad Cunningham wrote: >4.1.1 seems to have gotten rid of ParameterPassedByReference. What is the >proper, backwards compatable way to handle this now? > >i.e. my code does this: > > >case 3: > if (zend_get_parameters_ex(3, &username, &password, &status) == >FAIL

Re: [PHP-DEV] passing by reference

2002-02-12 Thread Markus Fischer
On Tue, Feb 12, 2002 at 10:05:06AM -0500, Chad Cunningham wrote : > 4.1.1 seems to have gotten rid of ParameterPassedByReference. What is the > proper, backwards compatable way to handle this now? PZVAL_IS_REF(z) defined in zend.h -- Please always Cc to me when replying to me on the lists

[PHP-DEV] passing by reference

2002-02-12 Thread Chad Cunningham
4.1.1 seems to have gotten rid of ParameterPassedByReference. What is the proper, backwards compatable way to handle this now? i.e. my code does this: case 3: if (zend_get_parameters_ex(3, &username, &password, &status) == FAILURE) { RETURN_FALSE; } if (!ParameterPass