diff options
author | Antony Dovgal <tony2001@php.net> | 2008-10-18 09:33:21 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-10-18 09:33:21 +0000 |
commit | 8d7590996d8cb12e296c4dc67cfe899fb81f21e0 (patch) | |
tree | 6cb62fbf42112be72099052a7177db6da6342e9e | |
parent | 4768b28fb18e01c7f2f9424dc2c73717f9af5756 (diff) | |
download | php-git-8d7590996d8cb12e296c4dc67cfe899fb81f21e0.tar.gz |
revert the patch, it's not needed in this branch
-rwxr-xr-x | ext/spl/spl_array.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c index 20a5b3c55b..2760ceaace 100755 --- a/ext/spl/spl_array.c +++ b/ext/spl/spl_array.c @@ -1205,8 +1205,6 @@ static void spl_array_method(INTERNAL_FUNCTION_PARAMETERS, char *fname, int fnam if (use_arg) { if (ZEND_NUM_ARGS() != 1 || zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "z", &arg) == FAILURE) { - Z_TYPE_P(tmp) = IS_NULL; - zval_ptr_dtor(&tmp); zend_throw_exception(spl_ce_BadMethodCallException, "Function expects exactly one argument", 0 TSRMLS_CC); return; } |