Searched defs:scope (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_closures.c69 /* {{{ proto Closure Closure::bind(Closure $old, object $to [, mixed $scope = "static" ] )
70 Create a closure from another one and bind to another object and scope */
87 if (scope_arg != NULL) { /* scope argument was given */
96 ce = closure->func.common.scope;
104 } else { /* scope argument not given; do not change the scope by default */
105 ce = closure->func.common.scope;
135 invoke->internal_function.scope = zend_ce_closure;
254 zend_create_closure(&result, &closure->func, closure->func.common.scope, &closure->this_ptr TSRMLS_CC);
279 *ce_ptr = closure->func.common.scope;
412 zend_create_closure(zval *res, zend_function *func, zend_class_entry *scope, zval *this_ptr TSRMLS_DC) argument
[all...]
H A Dzend_dtrace.c55 const char *scope, *filename, *funcname, *classname; local
56 scope = filename = funcname = classname = NULL;
66 classname = get_active_class_name(&scope TSRMLS_CC);
75 DTRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
81 DTRACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
H A Dzend_API.c307 const char *class_name = active_function->common.scope ? active_function->common.scope->name->val : "";
953 const char *class_name = active_function->common.scope ? active_function->common.scope->name->val : "";
973 const char *class_name = active_function->common.scope ? active_function->common.scope->name->val : "";
996 const char *class_name = active_function->common.scope ? active_function->common.scope->name->val : "";
1112 * Z_OBJ(EG(This)) to NULL when calling an internal function with common.scope == NULL.
1115 zend_bool is_method = EG(current_execute_data)->func->common.scope !
1221 zend_class_entry **scope = EG(current_execute_data) ? &EG(scope) : &CG(active_class_entry); local
1285 zend_class_entry **scope = EG(current_execute_data) ? &EG(scope) : &CG(active_class_entry); local
2224 zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC) argument
2955 zend_class_entry *scope; local
3888 zend_update_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zval *value TSRMLS_DC) argument
3907 zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC) argument
3916 zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_int_t value TSRMLS_DC) argument
3925 zend_update_property_int(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_int_t value TSRMLS_DC) argument
3934 zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, int name_length, double value TSRMLS_DC) argument
3943 zend_update_property_str(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_string *value TSRMLS_DC) argument
3952 zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value TSRMLS_DC) argument
3962 zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument
3972 zend_update_static_property(zend_class_entry *scope, const char *name, int name_length, zval *value TSRMLS_DC) argument
4009 zend_update_static_property_null(zend_class_entry *scope, const char *name, int name_length TSRMLS_DC) argument
4018 zend_update_static_property_bool(zend_class_entry *scope, const char *name, int name_length, zend_int_t value TSRMLS_DC) argument
4027 zend_update_static_property_int(zend_class_entry *scope, const char *name, int name_length, zend_int_t value TSRMLS_DC) argument
4036 zend_update_static_property_double(zend_class_entry *scope, const char *name, int name_length, double value TSRMLS_DC) argument
4045 zend_update_static_property_string(zend_class_entry *scope, const char *name, int name_length, const char *value TSRMLS_DC) argument
4055 zend_update_static_property_stringl(zend_class_entry *scope, const char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument
4065 zend_read_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
4087 zend_read_static_property(zend_class_entry *scope, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
[all...]
H A Dzend_compile.h253 zend_class_entry *scope; member in struct:_zend_op_array
306 zend_class_entry *scope; member in struct:_zend_internal_function
318 #define ZEND_FN_SCOPE_NAME(function) ((function) && (function)->common.scope ? (function)->common.scope->name->val : "")
326 zend_class_entry *scope; member in struct:_zend_function::__anon11
378 zend_class_entry *scope; /* function scope (self) */ member in struct:_zend_execute_data
H A Dzend_constants.c238 if (EG(scope) && EG(scope)->name) {
242 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name->len;
245 zend_str_tolower_copy(const_name->val + sizeof("\0__CLASS__")-1, EG(scope)->name->val, EG(scope)->name->len);
249 ZVAL_STR(&c->value, STR_COPY(EG(scope)->name));
326 ZEND_API zval *zend_get_constant_ex(zend_string *cname, zend_class_entry *scope, zend_uint_t flags TSRMLS_DC) argument
354 if (!scope) {
356 scope = EG(scope);
[all...]
H A Dzend_globals.h187 zend_class_entry *scope; member in struct:_zend_executor_globals
H A Dzend_object_handlers.c269 return zend_check_protected(property_info->ce, EG(scope));
271 if ((ce==EG(scope) || property_info->ce == EG(scope)) && EG(scope)) {
347 /* Try to look in the scope instead */
352 if (EG(scope) != ce
353 && EG(scope)
354 && is_derived_class(ce, EG(scope))
355 && (scope_property_info = zend_hash_find_ptr(&EG(scope)->properties_info, member)) != NULL
971 * 1. The class of our object is the same as the scope, an
1009 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument
[all...]
H A Dzend_vm_def.h1809 EG(scope) = EX(scope);
2336 if (EX(object) && zend_get_class_entry(EX(object) TSRMLS_CC) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
2352 zend_error(E_DEPRECATED, "Non-static method %s::%s() should not be called statically, assuming $this from incompatible context", fbc->common.scope->name->val, fbc->common.function_name->val);
2355 zend_error_noreturn(E_ERROR, "Non-static method %s::%s() cannot be called statically, assuming $this from incompatible context", fbc->common.scope->name->val, fbc->common.function_name->val);
2621 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", fbc->common.scope->name->val, fbc->common.function_name->val);
2625 fbc->common.scope ? fbc->common.scope->name->val : "",
2626 fbc->common.scope ? "::" : "",
2633 if (fbc->common.scope
2662 EG(scope) = (call->object) ? NULL : fbc->common.scope; variable
2664 EG(scope) = fbc->common.scope; variable
2723 EG(scope) = fbc->common.scope; variable
2752 EG(scope) = fbc->common.scope; variable
2801 EG(scope) = EX(scope); variable
3879 EG(scope) = ce; variable
3881 EG(scope) = EX(scope); variable
[all...]
/PHP_TRUNK/ext/ldap/
H A Dldap.c610 static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) argument
734 rcs[i] = ldap_search(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly);
775 errno = ldap_search_s(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly, &ldap_res);
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c295 ZEND_ARG_INFO(0, scope)
3595 /* {{{ proto resource odbc_specialcolumns(resource connection_id, int type, string qualifier, string owner, string table, int scope, int nullable)
3605 SQLUSMALLINT type, scope, nullable; local
3614 scope = (SQLUSMALLINT) vscope;
3639 scope,
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c350 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent TSRMLS_DC);
503 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce))
521 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce))
602 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce))
610 || mptr->common.scope == ce
720 old_scope = EG(scope);
721 EG(scope) = fptr->common.scope;
723 EG(scope) = old_scope;
807 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, cha argument
[all...]
/PHP_TRUNK/ext/sockets/
H A Dsockaddr_conv.c23 char *scope = strchr(string, '%'); local
63 if (scope++) {
68 if (IS_INT == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) {
73 php_string_to_if_index(scope, &scope_id TSRMLS_CC);

Completed in 41 milliseconds