| /PHP_5_4/Zend/ |
| H A D | zend_dtrace.c | 50 char *scope, *filename, *funcname, *classname; local 51 scope = filename = funcname = classname = NULL; 62 classname = get_active_class_name(&scope TSRMLS_CC); 72 DTRACE_FUNCTION_ENTRY(funcname, filename, lineno, classname, scope); 78 DTRACE_FUNCTION_RETURN(funcname, filename, lineno, classname, scope);
|
| H A D | zend_closures.c | 79 /* {{{ proto Closure Closure::bind(Closure $old, object $to [, mixed $scope = "static" ] ) 80 Create a closure from another one and bind to another object and scope */ 97 if (scope_arg != NULL) { /* scope argument was given */ 121 ce = closure->func.common.scope; 132 } else { /* scope argument not given; do not change the scope by default */ 133 ce = closure->func.common.scope; 163 invoke->internal_function.scope = zend_ce_closure; 289 zend_create_closure(&result, &closure->func, closure->func.common.scope, closure->this_ptr TSRMLS_CC); 315 *ce_ptr = closure->func.common.scope; 443 zend_create_closure(zval *res, zend_function *func, zend_class_entry *scope, zval *this_ptr TSRMLS_DC) argument [all...] |
| H A D | zend_constants.c | 239 if (EG(scope) && EG(scope)->name) { 244 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name_length; 247 zend_str_tolower_copy(const_name + sizeof("\0__CLASS__")-1, EG(scope)->name, EG(scope)->name_length); 251 Z_STRVAL((**c).value) = estrndup(EG(scope)->name, EG(scope)->name_length); 252 Z_STRLEN((**c).value) = EG(scope)->name_length; 315 ZEND_API int zend_get_constant_ex(const char *name, uint name_len, zval *result, zend_class_entry *scope, ulong flags TSRMLS_DC) argument 340 if (!scope) { [all...] |
| H A D | zend_globals.h | 199 zend_class_entry *scope; member in struct:_zend_executor_globals
|
| H A D | zend_API.c | 742 const char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; 762 const char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; 785 const char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; 1012 zend_class_entry *old_scope = EG(scope); 1014 EG(scope) = Z_OBJCE_P(obj); 1016 EG(scope) = old_scope; 1029 zend_class_entry **scope local 1063 zend_class_entry **scope = EG(in_execution)?&EG(scope):&CG(active_class_entry); local 1964 zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC) argument 2654 zend_class_entry *scope = EG(active_op_array) ? EG(active_op_array)->scope : NULL; local 3632 zend_update_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zval *value TSRMLS_DC) argument 3656 zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC) argument 3668 zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC) argument 3680 zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC) argument 3692 zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, int name_length, double value TSRMLS_DC) argument 3704 zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value TSRMLS_DC) argument 3716 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 3728 zend_update_static_property(zend_class_entry *scope, const char *name, int name_length, zval *value TSRMLS_DC) argument 3765 zend_update_static_property_null(zend_class_entry *scope, const char *name, int name_length TSRMLS_DC) argument 3777 zend_update_static_property_bool(zend_class_entry *scope, const char *name, int name_length, long value TSRMLS_DC) argument 3789 zend_update_static_property_long(zend_class_entry *scope, const char *name, int name_length, long value TSRMLS_DC) argument 3801 zend_update_static_property_double(zend_class_entry *scope, const char *name, int name_length, double value TSRMLS_DC) argument 3813 zend_update_static_property_string(zend_class_entry *scope, const char *name, int name_length, const char *value TSRMLS_DC) argument 3825 zend_update_static_property_stringl(zend_class_entry *scope, const char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument 3837 zend_read_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument 3862 zend_read_static_property(zend_class_entry *scope, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument [all...] |
| H A D | zend_compile.h | 259 zend_class_entry *scope; member in struct:_zend_op_array 312 zend_class_entry *scope; member in struct:_zend_internal_function 324 #define ZEND_FN_SCOPE_NAME(function) ((function) && (function)->common.scope ? (function)->common.scope->name : "") 332 zend_class_entry *scope; member in struct:_zend_function::__anon2
|
| H A D | zend_vm_def.h | 2302 if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { 2317 zend_error(E_STRICT, "Non-static method %s::%s() should not be called statically, assuming $this from incompatible context", EX(fbc)->common.scope->name, EX(fbc)->common.function_name); 2320 zend_error_noreturn(E_ERROR, "Non-static method %s::%s() cannot be called statically, assuming $this from incompatible context", EX(fbc)->common.scope->name, EX(fbc)->common.function_name); 2586 EG(scope) = EX(current_scope); 2618 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", fbc->common.scope->name, fbc->common.function_name); 2624 fbc->common.scope ? fbc->common.scope->name : "", 2625 fbc->common.scope ? "::" : "", 2629 if (fbc->common.scope && 2635 zend_error(E_STRICT, "Non-static method %s::%s() should not be called statically", fbc->common.scope 3522 EG(scope) = ce; variable 3524 EG(scope) = old_scope; variable 5159 zend_create_closure(&EX_T(opline->result.var).tmp_var, op_array, EG(scope), EG(This) TSRMLS_CC); variable [all...] |
| H A D | zend_object_handlers.c | 243 return zend_check_protected(property_info->ce, EG(scope)); 245 if ((ce==EG(scope) || property_info->ce == EG(scope)) && EG(scope)) { 315 /* Try to look in the scope instead */ 320 if (EG(scope) != ce 321 && EG(scope) 322 && is_derived_class(ce, EG(scope)) 323 && zend_hash_quick_find(&EG(scope)->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS 923 * 1. The class of our object is the same as the scope, an 959 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument [all...] |
| /PHP_5_4/ext/ldap/ |
| H A D | ldap.c | 588 static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) argument 712 rcs[i] = ldap_search(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly); 754 errno = ldap_search_s(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly, &ldap_res);
|
| /PHP_5_4/ext/odbc/ |
| H A D | php_odbc.c | 295 ZEND_ARG_INFO(0, scope) 3584 /* {{{ proto resource odbc_specialcolumns(resource connection_id, int type, string qualifier, string owner, string table, int scope, int nullable) 3594 SQLUSMALLINT type, scope, nullable; local 3603 scope = (SQLUSMALLINT) vscope; 3628 scope,
|
| /PHP_5_4/ext/reflection/ |
| H A D | php_reflection.c | 350 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent TSRMLS_DC); 504 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) 522 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) 605 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) 614 || mptr->common.scope == ce 733 zval_update_constant_ex(&zv, (void*)1, fptr->common.scope TSRMLS_CC); 822 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent TSRMLS_DC) argument 838 string_printf(str, fptr->common.fn_flags & ZEND_ACC_CLOSURE ? "Closure [ " : (fptr->common.scope ? "Method [ " : "Function [ ")); 847 if (scope && fptr->common.scope) { [all...] |