----
* allow foreach ($array as $k => &$val) syntax. right now we can not
traverse an array without copying each element.
- * create typedefs for all kinds of callback functions - this would make
- casting easier. eg: zend_hash_apply(someht,(zend_apply_f) bla);
global
------
/* Get function parameters and do error-checking. */
switch(ARG_COUNT(ht)) {
case 2:
- if (zend_get_parameters_ex(2, ®ex, &subject) == FAILURE) {
+ if (global || zend_get_parameters_ex(2, ®ex, &subject) == FAILURE) {
WRONG_PARAM_COUNT;
}
break;