version 1.1.1.2, 2012/05/29 12:34:42
|
version 1.1.1.3, 2013/07/22 01:32:00
|
Line 2
|
Line 2
|
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| PHP Version 5 | |
| PHP Version 5 | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| Copyright (c) 1997-2012 The PHP Group | | | Copyright (c) 1997-2013 The PHP Group | |
+----------------------------------------------------------------------+ |
+----------------------------------------------------------------------+ |
| This source file is subject to version 3.01 of the PHP license, | |
| This source file is subject to version 3.01 of the PHP license, | |
| that is bundled with this package in the file LICENSE, and is | |
| that is bundled with this package in the file LICENSE, and is | |
Line 63 static zval *ps_call_handler(zval *func, int argc, zva
|
Line 63 static zval *ps_call_handler(zval *func, int argc, zva
|
} |
} |
|
|
#define STDVARS \ |
#define STDVARS \ |
zval *retval; \ | zval *retval = NULL; \ |
int ret = FAILURE |
int ret = FAILURE |
|
|
#define PSF(a) PS(mod_user_names).name.ps_##a |
#define PSF(a) PS(mod_user_names).name.ps_##a |
Line 99 PS_OPEN_FUNC(user)
|
Line 99 PS_OPEN_FUNC(user)
|
|
|
PS_CLOSE_FUNC(user) |
PS_CLOSE_FUNC(user) |
{ |
{ |
|
zend_bool bailout = 0; |
STDVARS; |
STDVARS; |
|
|
if (!PS(mod_user_implemented)) { |
if (!PS(mod_user_implemented)) { |
Line 106 PS_CLOSE_FUNC(user)
|
Line 107 PS_CLOSE_FUNC(user)
|
return SUCCESS; |
return SUCCESS; |
} |
} |
|
|
retval = ps_call_handler(PSF(close), 0, NULL TSRMLS_CC); | zend_try { |
| retval = ps_call_handler(PSF(close), 0, NULL TSRMLS_CC); |
| } zend_catch { |
| bailout = 1; |
| } zend_end_try(); |
| |
PS(mod_user_implemented) = 0; |
PS(mod_user_implemented) = 0; |
|
|
|
if (bailout) { |
|
if (retval) { |
|
zval_ptr_dtor(&retval); |
|
} |
|
zend_bailout(); |
|
} |
|
|
FINISH; |
FINISH; |
} |
} |