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 (!ParameterPassedByReference(ht, 3)) {
         php_error(E_WARNING, "Error variable must be passed by 
reference");
         RETURN_FALSE;
     }
     pval_destructor(*status);
     break;
...

what would be the proper way to rewrite this to work with 4.0.x and 4.1.x?

-- 

Chad Cunningham
[EMAIL PROTECTED]

"Well, once again my friend, we find that science is a two-headed beast. One
head is nice, it gives us aspirin and other modern conveniences,...but the 
other head of science is bad! Oh beware the other head of science, Arthur, it 
bites!"



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to