/php-src/Zend/ |
H A D | zend_exceptions.c | 86 return instanceof_function(object->ce, zend_ce_exception) ? zend_ce_exception : zend_ce_error; in i_get_exception_base() 111 ZEND_ASSERT(instanceof_function(add_previous->ce, zend_ce_throwable) in zend_exception_set_previous() 176 DTRACE_EXCEPTION_THROWN(ZSTR_VAL(exception->ce->name)); in zend_throw_exception_internal() 199 …if (exception && (exception->ce == zend_ce_parse_error || exception->ce == zend_ce_compile_error))… in zend_throw_exception_internal() 746 static void zend_init_exception_class_entry(zend_class_entry *ce) { in zend_init_exception_class_entry() argument 747 ce->create_object = zend_default_exception_new; in zend_init_exception_class_entry() 748 ce->default_object_handlers = &default_exception_handlers; in zend_init_exception_class_entry() 901 ce_exception = ex->ce; in zend_exception_error() 919 zend_call_known_instance_method_with_0_params(ex->ce->__tostring, ex, &tmp); in zend_exception_error() 1032 return ex->ce == &zend_ce_unwind_exit; in zend_is_unwind_exit() [all …]
|
H A D | zend_closures.c | 143 newclass = newobj->ce; in ZEND_METHOD() 223 zend_class_entry *ce, *called_scope; in do_closure_bind() local 227 ce = scope_obj->ce; in do_closure_bind() 230 ce = closure->func.common.scope; in do_closure_bind() 231 } else if ((ce = zend_lookup_class(scope_str)) == NULL) { in do_closure_bind() 236 ce = NULL; in do_closure_bind() 239 if (!zend_valid_closure_binding(closure, newthis, ce)) { in do_closure_bind() 246 called_scope = ce; in do_closure_bind() 249 zend_create_closure(return_value, &closure->func, ce, called_scope, newthis); in do_closure_bind() 342 if (fcc.object && fcc.object->ce == zend_ce_closure in zend_create_closure_from_callable() [all …]
|
H A D | zend.h | 124 zend_class_entry *ce; member 138 zend_class_entry *ce; member 198 zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref); 199 zend_function *(*get_static_method)(zend_class_entry *ce, zend_string* method); 203 …int (*unserialize)(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, z…
|
/php-src/ext/spl/ |
H A D | spl_array.c | 235 new_object = spl_array_object_new_ex(old_object->ce, old_object, 1); in spl_array_object_clone() 500 zend_illegal_container_offset(object->ce->name, offset, BP_VAR_W); in spl_array_write_dimension_ex() 541 zend_illegal_container_offset(object->ce->name, offset, BP_VAR_UNSET); in spl_array_unset_dimension_ex() 611 zend_illegal_container_offset(object->ce->name, offset, BP_VAR_IS); in spl_array_has_dimension_ex() 975 ZSTR_VAL(Z_OBJCE_P(array)->name), ZSTR_VAL(intern->std.ce->name)); in spl_array_set_array() 1484 zend_class_entry *ce = zend_lookup_class(Z_STR_P(iterator_class_zv)); in PHP_METHOD() local 1486 if (!ce) { in PHP_METHOD() 1493 if (!instanceof_function(ce, zend_ce_iterator)) { in PHP_METHOD() 1500 intern->ce_get_iterator = ce; in PHP_METHOD() 1572 zend_class_entry *ce = Z_OBJCE(object->array); in spl_array_it_get_current_data() local [all …]
|
H A D | spl_fixedarray.c | 41 …AYACCESS_OVERRIDE(object, method) UNEXPECTED((object)->ce != spl_ce_SplFixedArray && (object)->ce-… 237 …HashTable *source_properties = obj->properties ? obj->properties : (obj->ce->default_properties_co… in spl_fixedarray_object_get_properties_for() 320 zend_object *new_object = spl_fixedarray_object_new_ex(old_object->ce, old_object, 1); in spl_fixedarray_object_clone() 397 …zend_call_known_instance_method_with_1_params(object->ce->arrayaccess_funcs_ptr->zf_offsetget, obj… in spl_fixedarray_object_read_dimension() 445 …zend_call_known_instance_method_with_2_params(object->ce->arrayaccess_funcs_ptr->zf_offsetset, obj… in spl_fixedarray_object_write_dimension() 474 …zend_call_known_instance_method_with_1_params(object->ce->arrayaccess_funcs_ptr->zf_offsetunset, o… in spl_fixedarray_object_unset_dimension() 507 …zend_call_known_instance_method_with_1_params(object->ce->arrayaccess_funcs_ptr->zf_offsetexists, … in spl_fixedarray_object_has_dimension() 944 static zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by… in spl_fixedarray_get_iterator() argument
|
H A D | spl_observer.c | 90 …zend_call_method_with_1_params(&intern->std, intern->std.ce, &intern->fptr_get_hash, "getHash", &r… in spl_object_storage_get_hash() 98 ZSTR_VAL(intern->std.ce->name), zend_zval_value_name(&rv)); in spl_object_storage_get_hash() 314 new_object = spl_object_storage_new_ex(old_object->ce, old_object); in spl_object_storage_clone() 394 if (zo1->ce != spl_ce_SplObjectStorage || zo2->ce != spl_ce_SplObjectStorage) { in spl_object_storage_compare_objects() 1155 zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_rewind, it, NULL); in PHP_METHOD() 1176 zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_next, it, NULL); in PHP_METHOD() 1205 zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_valid, it, &retval); in PHP_METHOD() 1243 zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_valid, it, &retval); in spl_multiple_iterator_get_all() 1254 …zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_current, it, &retval); in spl_multiple_iterator_get_all() 1256 zend_call_known_instance_method_with_0_params(it->ce->iterator_funcs_ptr->zf_key, it, &retval); in spl_multiple_iterator_get_all()
|
/php-src/Zend/Optimizer/ |
H A D | zend_func_info.h | 63 zend_class_entry **ce, bool *ce_is_instanceof);
|
/php-src/ext/intl/spoofchecker/ |
H A D | spoofchecker_arginfo.h | 55 zend_class_entry ce, *class_entry; in register_class_Spoofchecker() local 57 INIT_CLASS_ENTRY(ce, "Spoofchecker", class_Spoofchecker_methods); in register_class_Spoofchecker() 58 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_Spoofchecker()
|
/php-src/ext/phar/ |
H A D | phar_object_arginfo.h | 608 zend_class_entry ce, *class_entry; in register_class_PharException() local 610 INIT_CLASS_ENTRY(ce, "PharException", class_PharException_methods); in register_class_PharException() 611 class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception); in register_class_PharException() 618 zend_class_entry ce, *class_entry; in register_class_Phar() local 620 INIT_CLASS_ENTRY(ce, "Phar", class_Phar_methods); in register_class_Phar() 621 class_entry = zend_register_internal_class_ex(&ce, class_entry_RecursiveDirectoryIterator); in register_class_Phar() 725 zend_class_entry ce, *class_entry; in register_class_PharData() local 727 INIT_CLASS_ENTRY(ce, "PharData", class_PharData_methods); in register_class_PharData() 736 zend_class_entry ce, *class_entry; in register_class_PharFileInfo() local 738 INIT_CLASS_ENTRY(ce, "PharFileInfo", class_PharFileInfo_methods); in register_class_PharFileInfo() [all …]
|
/php-src/ext/reflection/ |
H A D | php_reflection.h | 51 PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object);
|
/php-src/Zend/tests/ |
H A D | nested_method_and_function.phpt | 2 active_class_entry must be always correct (__METHOD__ should not depend on declaring function ce)
|
/php-src/ext/dom/ |
H A D | nodelist.c | 284 zend_throw_error(NULL, "Cannot append to %s", ZSTR_VAL(object->ce->name)); in dom_modern_nodelist_read_dimension() 290 zend_illegal_container_offset(object->ce->name, offset, type); in dom_modern_nodelist_read_dimension() 305 zend_illegal_container_offset(object->ce->name, member, BP_VAR_IS); in dom_modern_nodelist_has_dimension()
|
H A D | php_dom.h | 155 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref); 156 …dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce); 174 dom_object *php_dom_instantiate_object_helper(zval *return_value, zend_class_entry *ce, xmlNodePtr … 216 zend_throw_error(NULL, "Couldn't fetch %s", ZSTR_VAL(__intern->std.ce->name));\
|
/php-src/ext/snmp/ |
H A D | snmp_arginfo.h | 270 zend_class_entry ce, *class_entry; in register_class_SNMP() local 272 INIT_CLASS_ENTRY(ce, "SNMP", class_SNMP_methods); in register_class_SNMP() 273 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_SNMP() 400 zend_class_entry ce, *class_entry; in register_class_SNMPException() local 402 INIT_CLASS_ENTRY(ce, "SNMPException", class_SNMPException_methods); in register_class_SNMPException() 403 class_entry = zend_register_internal_class_ex(&ce, class_entry_RuntimeException); in register_class_SNMPException()
|
/php-src/ext/com_dotnet/ |
H A D | com_handlers.c | 310 f.scope = obj->ce; in com_method_get() 395 return zend_string_copy(obj->ce->name); in com_class_name_get() 618 zend_object* php_com_object_new(zend_class_entry *ce) in php_com_object_new() argument 628 obj->ce = ce; in php_com_object_new() 630 zend_object_std_init(&obj->zo, ce); in php_com_object_new()
|
/php-src/ext/intl/converter/ |
H A D | converter.c | 339 if (objval->obj.ce == php_converter_ce) { in php_converter_set_callbacks() 904 static zend_object *php_converter_object_ctor(zend_class_entry *ce, php_converter_object **pobjval)… in php_converter_object_ctor() argument 907 objval = zend_object_alloc(sizeof(php_converter_object), ce); in php_converter_object_ctor() 909 zend_object_std_init(&objval->obj, ce); in php_converter_object_ctor() 910 object_properties_init(&objval->obj, ce); in php_converter_object_ctor() 918 static zend_object *php_converter_create_object(zend_class_entry *ce) { in php_converter_create_object() argument 920 zend_object *retval = php_converter_object_ctor(ce, &objval); in php_converter_create_object() 922 object_properties_init(&(objval->obj), ce); in php_converter_create_object() 929 zend_object *retval = php_converter_object_ctor(object->ce, &objval); in php_converter_clone_object()
|
/php-src/ext/ldap/ |
H A D | ldap_arginfo.h | 892 zend_class_entry ce, *class_entry; in register_class_LDAP_Connection() local 894 INIT_NS_CLASS_ENTRY(ce, "LDAP", "Connection", class_LDAP_Connection_methods); in register_class_LDAP_Connection() 895 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_LDAP_Connection() 903 zend_class_entry ce, *class_entry; in register_class_LDAP_Result() local 905 INIT_NS_CLASS_ENTRY(ce, "LDAP", "Result", class_LDAP_Result_methods); in register_class_LDAP_Result() 906 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_LDAP_Result() 914 zend_class_entry ce, *class_entry; in register_class_LDAP_ResultEntry() local 916 INIT_NS_CLASS_ENTRY(ce, "LDAP", "ResultEntry", class_LDAP_ResultEntry_methods); in register_class_LDAP_ResultEntry() 917 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_LDAP_ResultEntry()
|
/php-src/ext/hash/ |
H A D | hash_arginfo.h | 233 zend_class_entry ce, *class_entry; in register_class_HashContext() local 235 INIT_CLASS_ENTRY(ce, "HashContext", class_HashContext_methods); in register_class_HashContext() 236 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_HashContext()
|
/php-src/ext/odbc/ |
H A D | odbc_arginfo.h | 503 zend_class_entry ce, *class_entry; in register_class_Odbc_Connection() local 505 INIT_NS_CLASS_ENTRY(ce, "Odbc", "Connection", class_Odbc_Connection_methods); in register_class_Odbc_Connection() 506 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_Odbc_Connection() 514 zend_class_entry ce, *class_entry; in register_class_Odbc_Result() local 516 INIT_NS_CLASS_ENTRY(ce, "Odbc", "Result", class_Odbc_Result_methods); in register_class_Odbc_Result() 517 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_Odbc_Result()
|
/php-src/ext/mysqli/ |
H A D | mysqli_arginfo.h | 1180 zend_class_entry ce, *class_entry; in register_class_mysqli_driver() local 1183 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_mysqli_driver() 1215 zend_class_entry ce, *class_entry; in register_class_mysqli() local 1217 INIT_CLASS_ENTRY(ce, "mysqli", class_mysqli_methods); in register_class_mysqli() 1218 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_mysqli() 1342 zend_class_entry ce, *class_entry; in register_class_mysqli_result() local 1345 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_mysqli_result() 1383 zend_class_entry ce, *class_entry; in register_class_mysqli_stmt() local 1386 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_mysqli_stmt() 1453 zend_class_entry ce, *class_entry; in register_class_mysqli_warning() local [all …]
|
/php-src/ext/openssl/ |
H A D | openssl_arginfo.h | 718 zend_class_entry ce, *class_entry; in register_class_OpenSSLCertificate() local 720 INIT_CLASS_ENTRY(ce, "OpenSSLCertificate", class_OpenSSLCertificate_methods); in register_class_OpenSSLCertificate() 721 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_OpenSSLCertificate() 729 zend_class_entry ce, *class_entry; in register_class_OpenSSLCertificateSigningRequest() local 731 …INIT_CLASS_ENTRY(ce, "OpenSSLCertificateSigningRequest", class_OpenSSLCertificateSigningRequest_me… in register_class_OpenSSLCertificateSigningRequest() 732 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_OpenSSLCertificateSigningRequest() 740 zend_class_entry ce, *class_entry; in register_class_OpenSSLAsymmetricKey() local 742 INIT_CLASS_ENTRY(ce, "OpenSSLAsymmetricKey", class_OpenSSLAsymmetricKey_methods); in register_class_OpenSSLAsymmetricKey() 743 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_OpenSSLAsymmetricKey()
|
/php-src/ext/standard/ |
H A D | type.c | 64 if (Z_OBJ_P(arg)->ce->ce_flags & ZEND_ACC_ANON_CLASS) { in PHP_FUNCTION() 65 name = ZSTR_VAL(Z_OBJ_P(arg)->ce->name); in PHP_FUNCTION() 68 RETURN_STR_COPY(Z_OBJ_P(arg)->ce->name); in PHP_FUNCTION()
|
/php-src/ext/intl/common/ |
H A D | common_arginfo.h | 179 zend_class_entry ce, *class_entry; in register_class_IntlIterator() local 181 INIT_CLASS_ENTRY(ce, "IntlIterator", class_IntlIterator_methods); in register_class_IntlIterator() 182 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_IntlIterator()
|
/php-src/ext/intl/locale/ |
H A D | locale_arginfo.h | 108 zend_class_entry ce, *class_entry; in register_class_Locale() local 110 INIT_CLASS_ENTRY(ce, "Locale", class_Locale_methods); in register_class_Locale() 111 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_Locale()
|
/php-src/ext/phar/tests/ |
H A D | phar_oo_002.phpt | 91 string(41) "phar://*/files/phar_oo_002.phar.php%ce.php" 129 string(41) "phar://*/files/phar_oo_002.phar.php%ce.php"
|