Searched defs:function (Results 1 - 21 of 21) sorted by relevance

/PHP_5_3/ext/skeleton/
H A Dskeleton.php14 $function = 'confirm_' . $module . '_compiled'; variable
16 $str = $function($module);
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_php_trace.c71 long function; local
76 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, function_state.function), &l)) {
80 function = l;
82 if (valid_ptr(function)) {
83 if (0 > fpm_trace_get_strz(buf, buf_size, function + offsetof(zend_function, common.function_name))) {
H A Dzlog.c101 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...) /* {{{ */ argument
133 len += snprintf(buf, buf_size, "[%s] %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], function, line);
146 len += snprintf(buf + len, buf_size - len, "%s: pid %d, %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], getpid(), function, line);
148 len += snprintf(buf + len, buf_size - len, "%s: %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], function, line);
/PHP_5_3/scripts/dev/generate-phpt/src/
H A Dgenerate-phpt.php60 $function = new gtFunction($name); variable
61 $function->setArgumentNames();
62 $function->setArgumentLists();
63 $function->setInitialisationStatements();
73 $testCase->setFunction($function);
86 $testCase->setFunction($function);
101 $testCaseContainer->setFunction($function);
H A DgtFunction.php4 * Class reperesents a single PHP function.
12 * Set the name of the name of the function
16 public function __construct($functionName) {
22 * Get the names of function argments and initialise mandatory and optional argument arrays
25 public function setArgumentNames() {
26 $function= new ReflectionFunction($this->functionName); variable
28 foreach ($function->getParameters() as $i => $param) {
39 * Return the name of the function
43 public function getName() {
/PHP_5_3/scripts/dev/generate-phpt/src/setup/preconditions/
H A DgtIsValidFunction.php4 * Check that the function name is valid
9 public function check( $clo) {
11 $function = $clo->getOption('f'); variable
13 if( in_array( $function, $functions['internal'] ) ) {
21 public function getMessage() {
/PHP_5_3/scripts/dev/generate-phpt/src/testcase/
H A DgtVariationContainerFunction.php8 protected $function; variable
11 public function __construct($osl) {
16 * Sets function being tested
18 * @param gtFunction $function
20 public function setFunction(gtFunction $function) {
21 $this->function = $function; variable
29 public function constructAll() {
32 $numberOfArguments = count($this->function
[all...]
/PHP_5_3/ext/dba/
H A Ddba_db4.c51 char *function = get_active_function_name(TSRMLS_C); local
52 if (function && (!strcmp(function,"dba_popen") || !strcmp(function,"dba_open"))
/PHP_5_3/ext/filter/
H A Dfilter.c37 void (*function)(PHP_INPUT_FILTER_PARAM_DECL); member in struct:filter_list_entry
389 filter_func.function(*value, flags, options, charset TSRMLS_CC);
434 case PARSE_STRING: /* PARSE_STRING is used by parse_str() function */
789 * the function: normally when validation fails false is returned, and
862 * the function: normally when validation fails false is returned, and
/PHP_5_3/ext/pdo/
H A Dphp_pdo_driver.h96 PDO_FETCH_FUNC, /* fetch into function and return its result */
286 to prefix the function names using the PDO driver name; this will
455 /* if true, the handle has been closed and will not function anymore */
621 zval *function; member in struct:_pdo_stmt_t::__anon124::__anon126
641 /* For the convenience of drivers, this function will parse a data source
/PHP_5_3/ext/reflection/
H A Dphp_reflection.c875 string_printf(str, "function ");
882 /* The information where a function is declared is only available for user classes */
1092 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Internal error: Cannot find extension function %s in global function table", func->fname);
1219 static void reflection_function_factory(zend_function *function, zval *closure_object, zval *object TSRMLS_DC) argument
1228 ZVAL_STRING(name, function->common.function_name, 1);
1232 intern->ptr = function;
1438 /* Returns from this function */
1507 Constructor. Throws an Exception in case the given function does not exist */
1580 Returns this function'
4861 zval *function; local
[all...]
/PHP_5_3/ext/soap/
H A Dphp_sdl.c41 static void delete_function(void *function);
42 static void delete_function_persistent(void *function);
905 sdlFunctionPtr function; local
946 function = emalloc(sizeof(sdlFunction));
947 memset(function, 0, sizeof(sdlFunction));
948 function->functionName = estrdup((char*)op_name->children->content);
980 function->bindingAttributes = (void *)soapFunctionBinding;
991 function->requestParameters = wsdl_message(&ctx, message->children->content);
996 function->requestName = estrdup(name->children->content);
1000 function
3532 sdlFunctionPtr function = *((sdlFunctionPtr*)data); local
3571 sdlFunctionPtr function = *((sdlFunctionPtr*)data); local
[all...]
H A Dsoap.c39 sdlFunctionPtr function; member in struct:_soapHeader
50 static void function_to_string(sdlFunctionPtr function, smart_str *buf);
56 static void soap_server_fault_ex(sdlFunctionPtr function, zval* fault, soapHeader* hdr TSRMLS_DC);
58 static sdlParamPtr get_param(sdlFunctionPtr function, char *param_name, int index, int);
63 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name,char *uri,zval *ret, soapHeader *headers, int version TSRMLS_DC);
64 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval **arguments, int arg_count, int version, HashTable *soap_headers TSRMLS_DC);
1363 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to set persistence when you are using you SOAP SERVER in function mode, no persistence needed");
1542 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to add a function that isn't a string");
1551 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to add a non existant function '%s'", Z_STRVAL_PP(tmp_function));
1573 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to add a non existant function '
1619 sdlFunctionPtr function; local
2216 soap_server_fault_ex(sdlFunctionPtr function, zval* fault, soapHeader *hdr TSRMLS_DC) argument
2796 do_soap_call(zval* this_ptr, char* function, int function_len, int arg_count, zval** real_args, zval* return_value, char* location, char* soap_action, char* call_uri, HashTable* soap_headers, zval* output_headers TSRMLS_DC) argument
3020 char *function, *location=NULL, *soap_action = NULL, *uri = NULL; local
3140 sdlFunctionPtr *function; local
3403 char *function = Z_STRVAL(function_name->element); local
3507 deserialize_parameters(xmlNodePtr params, sdlFunctionPtr function, int *num_params, zval ***parameters) argument
3605 sdlFunctionPtr function; local
3637 sdlFunctionPtr function; local
3894 serialize_response_call2(xmlNodePtr body, sdlFunctionPtr function, char *function_name, char *uri, zval *ret, int version, int main TSRMLS_DC) argument
3997 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument
4351 serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval **arguments, int arg_count, int version, HashTable *soap_headers TSRMLS_DC) argument
4636 get_param(sdlFunctionPtr function, char *param_name, int index, int response) argument
4753 function_to_string(sdlFunctionPtr function, smart_str *buf) argument
[all...]
/PHP_5_3/Zend/
H A Dzend_API.c38 /* this function doesn't check for too many parameters */
114 /* this function doesn't check for too many parameters */
722 zend_function *active_function = EG(current_execute_data)->function_state.function;
742 zend_function *active_function = EG(current_execute_data)->function_state.function;
765 zend_function *active_function = EG(current_execute_data)->function_state.function;
986 /* This function should be called after the constructor has been called
1065 /* This function requires 'properties' to contain all props declared in the
1742 /* we don't care if the function name is longer, in fact lowercasing only
1798 /* registers all functions in *library_functions in the function hash */
1802 zend_function function, *reg_functio local
[all...]
H A Dzend_compile.h157 /* function flag for internal user call handlers __call, __callstatic */
265 #define ZEND_FN_SCOPE_NAME(function) ((function) && (function)->common.scope ? (function)->common.scope->name : "")
289 zend_function *function; member in struct:_zend_function_state
552 ZEND_API void function_add_ref(zend_function *function);
567 ZEND_API int zend_cleanup_function_data(zend_function *function TSRMLS_DC);
568 ZEND_API int zend_cleanup_function_data_full(zend_function *function TSRMLS_DC);
570 ZEND_API void destroy_zend_function(zend_function *function TSRMLS_D
[all...]
H A Dzend_opcode.c111 ZEND_API void destroy_zend_function(zend_function *function TSRMLS_DC)
113 switch (function->type) {
115 destroy_op_array((zend_op_array *) function TSRMLS_CC);
123 ZEND_API void zend_function_dtor(zend_function *function) argument
127 destroy_zend_function(function TSRMLS_CC);
137 ZEND_API int zend_cleanup_function_data(zend_function *function TSRMLS_DC)
139 if (function->type == ZEND_USER_FUNCTION) {
140 zend_cleanup_op_array_data((zend_op_array *) function);
147 ZEND_API int zend_cleanup_function_data_full(zend_function *function TSRMLS_DC)
149 if (function
[all...]
H A Dzend_language_parser.y309 function is_reference T_STRING { zend_do_begin_function_declaration(&$1, &$3, 0, $2.op_type, NULL TSRMLS_CC); }
517 | method_modifiers function is_reference T_STRING { zend_do_begin_function_declaration(&$2, &$4, 1, $3.op_type, &$1 TSRMLS_CC); } '('
650 | function is_reference '(' { zend_do_begin_lambda_function_declaration(&$$, &$1, $2.op_type TSRMLS_CC); }
654 function: label
H A Dzend_compile.c426 /* the default mode must be Write, since fetch_simple_variable() is used to define function arguments */
556 zend_error(E_COMPILE_ERROR, "%s function %s::%s() cannot be declared private", method_type, CG(active_class_entry)->name, function_name->u.constant.value.str.val);
565 /* we had code in the function body */
566 zend_error(E_COMPILE_ERROR, "%s function %s::%s() cannot contain body", method_type, CG(active_class_entry)->name, function_name->u.constant.value.str.val);
965 zend_error(E_COMPILE_ERROR, "Can't use function return value in write context");
1209 zend_error(E_STRICT, "Static function %s%s%s() should not be abstract", is_method ? CG(active_class_entry)->name : "", is_method ? "::" : "", Z_STRVAL(function_name->u.constant));
1339 /* Prefix function name with current namespace name */
1453 /* we don't care if the function name is longer, in fact lowercasing only
1555 zend_function *function; local
1562 /* We assume we call function fro
2400 function_add_ref(zend_function *function) argument
2420 zend_function *function; local
2522 do_inherit_method(zend_function *function) argument
2954 zend_function *function; local
[all...]
/PHP_5_3/ext/pcre/
H A Dphp_pcre.c832 static int preg_do_repl_func(zval *function, char *subject, int *offsets, char **subpat_names, int count, char **result TSRMLS_DC) argument
835 zval **args[1]; /* Argument to pass to function */
850 if (call_user_function_ex(EG(function_table), NULL, function, &retval_ptr, 1, args, 0, NULL TSRMLS_CC) == SUCCESS && retval_ptr) {
857 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call custom replacement function");
991 function-returned string */
1006 *eval_result, /* Result of eval or custom function */
1090 /* Use custom function to get replacement string and its length. */
1129 /* If evaluating or using custom function, copy result to the buffer
1320 /* Get function parameters and do error-checking. */
1438 /* Get function parameter
[all...]
/PHP_5_3/main/
H A Dmain.c135 php_printf("Unable to disable function '%s'\n", function_name_5[i]);
144 php_printf("Unable to disable function '%s'\n", function_name_6[i]);
273 /* {{{ php_get_display_errors_mode() helper function
676 char *function; local
692 /* which function caused the problem if any at all */
694 function = "PHP Startup";
696 function = "PHP Shutdown";
703 function = "eval";
707 function = "include";
711 function
1790 dummy_invalid_parameter_handler( const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t pEwserved) argument
[all...]
/PHP_5_3/ext/standard/
H A Dbasic_functions.c3413 basic_functions, /* function list */
3827 Given the name of a constant this function will return the constant's associated value */
4775 Call a user function which is the first parameter */
4799 Call a user function which is the first parameter with the arguments contained in array */
4905 Call a user function which is the first parameter */
4938 Call a user function which is the first parameter with the arguments contained in array */
4993 php_error(E_WARNING, "(Registered shutdown functions) Unable to call %s() - function does not exist", function_name);
5019 zval *function = tick_fe->arguments[0]; local
5021 /* Prevent reentrant calls to the same user ticks function */
5026 function,
5783 zval *function; local
[all...]

Completed in 61 milliseconds