| /PHP_5_3/ext/com_dotnet/ |
| H A D | com_handlers.c | 285 f.scope = obj->ce; 413 f.scope = obj->ce; \
|
| /PHP_5_3/ext/reflection/ |
| H A D | php_reflection.c | 336 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char *indent TSRMLS_DC); 481 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) 499 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) 582 && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) 591 || mptr->common.scope == ce 710 zval_update_constant_ex(&zv, (void*)1, fptr->common.scope TSRMLS_CC); 797 static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent TSRMLS_DC) argument 813 string_printf(str, fptr->common.fn_flags & ZEND_ACC_CLOSURE ? "Closure [ " : (fptr->common.scope ? "Method [ " : "Function [ ")); 822 if (scope && fptr->common.scope) { [all...] |
| /PHP_5_3/ext/soap/ |
| H A D | php_encoding.c | 1242 old_scope = EG(scope); 1243 EG(scope) = Z_OBJCE_P(object); 1248 EG(scope) = old_scope; 1260 old_scope = EG(scope); 1261 EG(scope) = Z_OBJCE_P(object); 1268 EG(scope) = old_scope; 1274 EG(scope) = old_scope; 1294 old_scope = EG(scope); 1295 EG(scope) = Z_OBJCE_P(object); 1297 EG(scope) [all...] |
| /PHP_5_3/ext/spl/ |
| H A D | spl_iterators.c | 383 if (!EG(exception) && (!object->endChildren || object->endChildren->common.scope != spl_ce_RecursiveIteratorIterator)) { 521 if (intern->beginIteration->common.scope == ce_base) { 525 if (intern->endIteration->common.scope == ce_base) { 529 if (intern->callHasChildren->common.scope == ce_base) { 533 if (intern->callGetChildren->common.scope == ce_base) { 537 if (intern->beginChildren->common.scope == ce_base) { 541 if (intern->endChildren->common.scope == ce_base) { 545 if (intern->nextElement->common.scope == ce_base) {
|
| H A D | spl_fixedarray.c | 260 if (class_type->iterator_funcs.zf_rewind->common.scope != parent) { 263 if (class_type->iterator_funcs.zf_valid->common.scope != parent) { 266 if (class_type->iterator_funcs.zf_key->common.scope != parent) { 269 if (class_type->iterator_funcs.zf_current->common.scope != parent) { 272 if (class_type->iterator_funcs.zf_next->common.scope != parent) { 277 if (intern->fptr_offset_get->common.scope == parent) { 281 if (intern->fptr_offset_set->common.scope == parent) { 285 if (intern->fptr_offset_has->common.scope == parent) { 289 if (intern->fptr_offset_del->common.scope == parent) { 293 if (intern->fptr_count->common.scope [all...] |
| H A D | spl_array.c | 229 if (intern->fptr_offset_get->common.scope == parent) { 233 if (intern->fptr_offset_set->common.scope == parent) { 237 if (intern->fptr_offset_has->common.scope == parent) { 241 if (intern->fptr_offset_del->common.scope == parent) { 245 if (intern->fptr_count->common.scope == parent) { 249 if (intern->fptr_serialize->common.scope == parent) { 253 if (intern->fptr_unserialize->common.scope == parent) { 268 if (class_type->iterator_funcs.zf_rewind->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_REWIND; 269 if (class_type->iterator_funcs.zf_valid->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_VALID; 270 if (class_type->iterator_funcs.zf_key->common.scope ! [all...] |
| H A D | spl_dllist.c | 432 if (intern->fptr_offset_get->common.scope == parent) { 436 if (intern->fptr_offset_set->common.scope == parent) { 440 if (intern->fptr_offset_has->common.scope == parent) { 444 if (intern->fptr_offset_del->common.scope == parent) { 448 if (intern->fptr_count->common.scope == parent) {
|
| /PHP_5_3/ext/wddx/ |
| H A D | wddx.c | 1011 zend_class_entry *old_scope = EG(scope); 1013 EG(scope) = Z_OBJCE_P(ent2->data); 1016 EG(scope) = old_scope;
|
| /PHP_5_3/Zend/ |
| H A D | zend_API.c | 723 char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; 743 char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; 766 char *class_name = active_function->common.scope ? active_function->common.scope->name : ""; 991 zend_class_entry *old_scope = EG(scope); 993 EG(scope) = Z_OBJCE_P(obj); 995 EG(scope) = old_scope; 1007 zend_class_entry **scope local 1799 zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC) argument 2408 zend_class_entry *scope = EG(active_op_array) ? EG(active_op_array)->scope : NULL; local 3361 zend_update_property(zend_class_entry *scope, zval *object, char *name, int name_length, zval *value TSRMLS_DC) argument 3385 zend_update_property_null(zend_class_entry *scope, zval *object, char *name, int name_length TSRMLS_DC) argument 3397 zend_update_property_bool(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC) argument 3409 zend_update_property_long(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC) argument 3421 zend_update_property_double(zend_class_entry *scope, zval *object, char *name, int name_length, double value TSRMLS_DC) argument 3433 zend_update_property_string(zend_class_entry *scope, zval *object, char *name, int name_length, const char *value TSRMLS_DC) argument 3445 zend_update_property_stringl(zend_class_entry *scope, zval *object, char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument 3457 zend_update_static_property(zend_class_entry *scope, char *name, int name_length, zval *value TSRMLS_DC) argument 3494 zend_update_static_property_null(zend_class_entry *scope, char *name, int name_length TSRMLS_DC) argument 3506 zend_update_static_property_bool(zend_class_entry *scope, char *name, int name_length, long value TSRMLS_DC) argument 3518 zend_update_static_property_long(zend_class_entry *scope, char *name, int name_length, long value TSRMLS_DC) argument 3530 zend_update_static_property_double(zend_class_entry *scope, char *name, int name_length, double value TSRMLS_DC) argument 3542 zend_update_static_property_string(zend_class_entry *scope, char *name, int name_length, const char *value TSRMLS_DC) argument 3554 zend_update_static_property_stringl(zend_class_entry *scope, char *name, int name_length, const char *value, int value_len TSRMLS_DC) argument 3566 zend_read_property(zend_class_entry *scope, zval *object, char *name, int name_length, zend_bool silent TSRMLS_DC) argument 3591 zend_read_static_property(zend_class_entry *scope, char *name, int name_length, zend_bool silent TSRMLS_DC) argument [all...] |
| H A D | zend_closures.c | 101 invoke->internal_function.scope = zend_ce_closure; 402 closure->func.common.scope = NULL;
|
| H A D | zend_compile.h | 196 zend_class_entry *scope; member in struct:_zend_op_array 251 zend_class_entry *scope; member in struct:_zend_internal_function 265 #define ZEND_FN_SCOPE_NAME(function) ((function) && (function)->common.scope ? (function)->common.scope->name : "") 273 zend_class_entry *scope; member in struct:_zend_function::__anon7
|
| H A D | zend_constants.c | 277 ZEND_API int zend_get_constant_ex(const char *name, uint name_len, zval *result, zend_class_entry *scope, ulong flags TSRMLS_DC) argument 302 if (!scope) { 304 scope = EG(scope); 306 scope = CG(active_class_entry); 312 if (scope) { 313 ce = scope; 315 zend_error(E_ERROR, "Cannot access self:: when no class scope is active"); 321 if (!scope) { 322 zend_error(E_ERROR, "Cannot access parent:: when no class scope i [all...] |
| H A D | zend_constants.h | 64 ZEND_API int zend_get_constant_ex(const char *name, uint name_len, zval *result, zend_class_entry *scope, ulong flags TSRMLS_DC);
|
| H A D | zend_execute.h | 140 ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *scope TSRMLS_DC);
|
| H A D | zend_execute_API.c | 199 EG(scope) = NULL; 363 zend_class_entry *ce = EG(current_execute_data)->function_state.function->common.scope; 503 ZEND_API int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *scope TSRMLS_DC) /* {{{ */ 524 if (!zend_get_constant_ex(p->value.str.val, p->value.str.len, &const_value, scope, Z_REAL_TYPE_P(p) TSRMLS_CC)) { 626 if (!zend_get_constant_ex(str_index, str_index_len - 3, &const_value, scope, str_index[str_index_len - 2] TSRMLS_CC)) { 691 zend_hash_apply_with_argument(Z_ARRVAL_P(p), (apply_func_arg_t) zval_update_constant_inline_change, (void *) scope TSRMLS_CC); 698 ZEND_API int zval_update_constant_inline_change(zval **pp, void *scope TSRMLS_DC) /* {{{ */ 700 return zval_update_constant_ex(pp, (void*)1, scope TSRMLS_CC); 704 ZEND_API int zval_update_constant_no_inline_change(zval **pp, void *scope TSRMLS_DC) /* {{{ */ 706 return zval_update_constant_ex(pp, (void*)0, scope TSRMLS_C [all...] |
| H A D | zend_globals.h | 199 zend_class_entry *scope; member in struct:_zend_executor_globals
|
| H A D | zend_object_handlers.h | 161 ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope);
|
| H A D | zend_objects.c | 63 if (object->ce != EG(scope)) { 69 EG(scope) ? EG(scope)->name : "", 76 if (!zend_check_protected(destructor->common.scope, EG(scope))) { 82 EG(scope) ? EG(scope)->name : "",
|
| H A D | zend_opcode.c | 85 op_array->scope = NULL;
|
| H A D | zend_compile.c | 1225 op_array.scope = is_method?CG(active_class_entry):NULL; 1492 CG(active_op_array)->scope && 2545 if ((fe->common.fn_flags & ZEND_ACC_CTOR) && (proto->common.scope->ce_flags & ZEND_ACC_INTERFACE) == 0) { 2631 if ((parent->common.scope->ce_flags & ZEND_ACC_INTERFACE) == 0 2633 && parent->common.scope != (child->common.prototype ? child->common.prototype->common.scope : child->common.scope) 2636 parent->common.scope->name, 2638 child->common.prototype ? child->common.prototype->common.scope->name : child->common.scope [all...] |
| H A D | zend_object_handlers.c | 167 return zend_check_protected(property_info->ce, EG(scope)); 169 if ((ce==EG(scope) || property_info->ce == EG(scope)) && EG(scope)) { 231 /* Try to look in the scope instead */ 236 if (EG(scope) != ce 237 && is_derived_class(ce, EG(scope)) 238 && EG(scope) 239 && zend_hash_quick_find(&EG(scope)->properties_info, Z_STRVAL_P(member), Z_STRLEN_P(member)+1, h, (void **) &scope_property_info)==SUCCESS 759 * 1. The class of our object is the same as the scope, an 795 zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) argument [all...] |
| H A D | zend_builtin_functions.c | 374 zend_error(E_WARNING, "func_num_args(): Called from the global scope - no function context"); 401 zend_error(E_WARNING, "func_get_arg(): Called from the global scope - no function context"); 431 zend_error(E_WARNING, "func_get_args(): Called from the global scope - no function context"); 733 if (EG(scope)) { 734 RETURN_STRINGL(EG(scope)->name, EG(scope)->name_length, 1); 758 } else if (!EG(scope)) { 767 Retrieves the parent class name for object or class or current scope. */ 780 ce = EG(scope); 1031 || (EG(scope) [all...] |
| H A D | zend_vm_def.h | 2035 if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { 2059 zend_error(severity, "Non-static method %s::%s() %s be called statically, assuming $this from incompatible context", EX(fbc)->common.scope->name, EX(fbc)->common.function_name, verb); 2236 EG(scope) = EX(current_scope); 2265 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", EX(function_state).function->common.scope->name, EX(function_state).function->common.function_name); 2270 EX(function_state).function->common.scope ? EX(function_state).function->common.scope->name : "", 2271 EX(function_state).function->common.scope ? "::" : "", 2275 if (EX(function_state).function->common.scope && 2281 zend_error(E_STRICT, "Non-static method %s::%s() should not be called statically", EX(function_state).function->common.scope->name, EX(function_state).function->common.function_name); 2285 zend_error_noreturn(E_ERROR, "Non-static method %s::%s() cannot be called statically", EX(function_state).function->common.scope 3058 EG(scope) = ce; variable 3060 EG(scope) = old_scope; variable [all...] |
| H A D | zend_vm_execute.h | 236 EG(scope) = EX(current_scope); 265 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", EX(function_state).function->common.scope->name, EX(function_state).function->common.function_name); 270 EX(function_state).function->common.scope ? EX(function_state).function->common.scope->name : "", 271 EX(function_state).function->common.scope ? "::" : "", 275 if (EX(function_state).function->common.scope && 281 zend_error(E_STRICT, "Non-static method %s::%s() should not be called statically", EX(function_state).function->common.scope->name, EX(function_state).function->common.function_name); 285 zend_error_noreturn(E_ERROR, "Non-static method %s::%s() cannot be called statically", EX(function_state).function->common.scope->name, EX(function_state).function->common.function_name); 290 EX(function_state).function->common.scope) { 293 EX(current_scope) = EG(scope); [all...] |
| H A D | zend_API.h | 254 ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC); 310 ZEND_API void zend_update_property(zend_class_entry *scope, zval *object, char *name, int name_length, zval *value TSRMLS_DC); 311 ZEND_API void zend_update_property_null(zend_class_entry *scope, zval *object, char *name, int name_length TSRMLS_DC); 312 ZEND_API void zend_update_property_bool(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC); 313 ZEND_API void zend_update_property_long(zend_class_entry *scope, zval *object, char *name, int name_length, long value TSRMLS_DC); 314 ZEND_API void zend_update_property_double(zend_class_entry *scope, zval *object, char *name, int name_length, double value TSRMLS_DC); 315 ZEND_API void zend_update_property_string(zend_class_entry *scope, zval *object, char *name, int name_length, const char *value TSRMLS_DC); 316 ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object, char *name, int name_length, const char *value, int value_length TSRMLS_DC); 318 ZEND_API int zend_update_static_property(zend_class_entry *scope, char *name, int name_length, zval *value TSRMLS_DC); 319 ZEND_API int zend_update_static_property_null(zend_class_entry *scope, cha [all...] |