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

/PHP_5_6/Zend/
H A Dzend_dtrace.c50 const char *scope, *filename, *funcname, *classname; local
51 scope = filename = funcname = classname = NULL;
61 classname = get_active_class_name(&scope TSRMLS_CC);
70 DTRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
76 DTRACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope);
H A Dzend_constants.c226 if (EG(scope) && EG(scope)->name) {
231 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name_length;
234 zend_str_tolower_copy(const_name + sizeof("\0__CLASS__")-1, EG(scope)->name, EG(scope)->name_length);
238 Z_STRVAL((**c).value) = estrndup(EG(scope)->name, EG(scope)->name_length);
239 Z_STRLEN((**c).value) = EG(scope)->name_length;
302 ZEND_API int zend_get_constant_ex(const char *name, uint name_len, zval *result, zend_class_entry *scope, ulong flags TSRMLS_DC) argument
327 if (!scope) {
[all...]
H A Dzend_closures.c73 /* {{{ proto Closure Closure::bind(Closure $old, object $to [, mixed $scope = "static" ] )
74 Create a closure from another one and bind to another object and scope */
91 if (scope_arg != NULL) { /* scope argument was given */
115 ce = closure->func.common.scope;
126 } else { /* scope argument not given; do not change the scope by default */
127 ce = closure->func.common.scope;
157 invoke->internal_function.scope = zend_ce_closure;
283 zend_create_closure(&result, &closure->func, closure->func.common.scope, closure->this_ptr TSRMLS_CC);
308 *ce_ptr = closure->func.common.scope;
436 zend_create_closure(zval *res, zend_function *func, zend_class_entry *scope, zval *this_ptr TSRMLS_DC) argument
[all...]
H A Dzend_globals.h201 zend_class_entry *scope; member in struct:_zend_executor_globals
H A Dzend_compile.h271 zend_class_entry *scope; member in struct:_zend_op_array
328 zend_class_entry *scope; member in struct:_zend_internal_function
340 #define ZEND_FN_SCOPE_NAME(function) ((function) && (function)->common.scope ? (function)->common.scope->name : "")
348 zend_class_entry *scope; member in struct:_zend_function::__anon2
H A Dzend_object_handlers.c275 return zend_check_protected(property_info->ce, EG(scope));
277 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 && zend_hash_quick_find(&EG(scope)->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS
958 * 1. The class of our object is the same as the scope, an
994 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument
[all...]
H A Dzend_API.c771 const char *class_name = active_function->common.scope ? active_function->common.scope->name : "";
791 const char *class_name = active_function->common.scope ? active_function->common.scope->name : "";
814 const char *class_name = active_function->common.scope ? active_function->common.scope->name : "";
1041 zend_class_entry *old_scope = EG(scope);
1043 EG(scope) = Z_OBJCE_P(obj);
1045 EG(scope) = old_scope;
1057 zend_class_entry **scope local
1091 zend_class_entry **scope = EG(in_execution)?&EG(scope):&CG(active_class_entry); local
2029 zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC) argument
2733 zend_class_entry *scope = EG(active_op_array) ? EG(active_op_array)->scope : NULL; local
3710 zend_update_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zval *value TSRMLS_DC) argument
3734 zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC) argument
3746 zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC) argument
3758 zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, int name_length, long value TSRMLS_DC) argument
3770 zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, int name_length, double value TSRMLS_DC) argument
3782 zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value TSRMLS_DC) argument
3794 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
3806 zend_update_static_property(zend_class_entry *scope, const char *name, int name_length, zval *value TSRMLS_DC) argument
3843 zend_update_static_property_null(zend_class_entry *scope, const char *name, int name_length TSRMLS_DC) argument
3855 zend_update_static_property_bool(zend_class_entry *scope, const char *name, int name_length, long value TSRMLS_DC) argument
3867 zend_update_static_property_long(zend_class_entry *scope, const char *name, int name_length, long value TSRMLS_DC) argument
3879 zend_update_static_property_double(zend_class_entry *scope, const char *name, int name_length, double value TSRMLS_DC) argument
3891 zend_update_static_property_string(zend_class_entry *scope, const char *name, int name_length, const char *value TSRMLS_DC) argument
3903 zend_update_static_property_stringl(zend_class_entry *scope, const char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument
3915 zend_read_property(zend_class_entry *scope, zval *object, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
3940 zend_read_static_property(zend_class_entry *scope, const char *name, int name_length, zend_bool silent TSRMLS_DC) argument
[all...]
H A Dzend_vm_def.h1877 EG(scope) = EX(current_scope);
1910 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", fbc->common.scope->name, fbc->common.function_name);
1914 fbc->common.scope ? fbc->common.scope->name : "",
1915 fbc->common.scope ? "::" : "",
1922 if (fbc->common.scope &&
1928 zend_error(E_STRICT, "Non-static method %s::%s() should not be called statically", fbc->common.scope->name, fbc->common.function_name);
1935 zend_error_noreturn(E_ERROR, "Non-static method %s::%s() cannot be called statically", fbc->common.scope->name, fbc->common.function_name);
1939 if (fbc->type == ZEND_USER_FUNCTION || fbc->common.scope) {
1942 EX(current_scope) = EG(scope);
3756 EG(scope) = ce; variable
3758 EG(scope) = old_scope; variable
[all...]
/PHP_5_6/ext/sockets/
H A Dsockaddr_conv.c23 char *scope = strchr(string, '%'); local
63 if (scope++) {
68 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) {
73 php_string_to_if_index(scope, &scope_id TSRMLS_CC);
/PHP_5_6/ext/ldap/
H A Dldap.c632 static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) argument
756 rcs[i] = ldap_search(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly);
798 errno = ldap_search_s(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly, &ldap_res);
/PHP_5_6/ext/reflection/
H A Dphp_reflection.c350 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
738 old_scope = EG(scope);
739 EG(scope) = fptr->common.scope;
741 EG(scope) = old_scope;
830 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, cha argument
[all...]
/PHP_5_6/ext/odbc/
H A Dphp_odbc.c295 ZEND_ARG_INFO(0, scope)
3624 /* {{{ proto resource odbc_specialcolumns(resource connection_id, int type, string qualifier, string owner, string table, int scope, int nullable)
3634 SQLUSMALLINT type, scope, nullable; local
3643 scope = (SQLUSMALLINT) vscope;
3668 scope,

Completed in 34 milliseconds