/php-src/ext/standard/ |
H A D | php_incomplete_class.h | 28 if (Z_OBJCE_P(struc) == php_ce_incomplete_class) { \ 35 class_name = zend_string_copy(Z_OBJCE_P(struc)->name); \
|
H A D | user_filters.c | 359 …zend_update_property(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("bucket"), &zbucket… in PHP_FUNCTION() 362 …zend_update_property_stringl(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("data"), bu… in PHP_FUNCTION() 363 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("datalen"), bu… in PHP_FUNCTION() 364 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("dataLength"),… in PHP_FUNCTION() 463 …zend_update_property(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("bucket"), &zbucket… in PHP_FUNCTION() 466 …zend_update_property_stringl(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("data"), bu… in PHP_FUNCTION() 467 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("datalen"), bu… in PHP_FUNCTION() 468 …zend_update_property_long(Z_OBJCE_P(return_value), Z_OBJ_P(return_value), ZEND_STRL("dataLength"),… in PHP_FUNCTION()
|
H A D | http.c | 96 ZEND_ASSERT(Z_OBJCE_P(scalar)->ce_flags & ZEND_ACC_ENUM); in php_url_encode_scalar() 97 if (Z_OBJCE_P(scalar)->enum_backing_type == IS_UNDEF) { in php_url_encode_scalar() 98 …zend_value_error("Unbacked enum %s cannot be converted to a string", ZSTR_VAL(Z_OBJCE_P(scalar)->n… in php_url_encode_scalar() 169 && !(Z_OBJCE_P(zdata)->ce_flags & ZEND_ACC_ENUM))) { in php_url_encode_hash_ex() 248 …if (UNEXPECTED(Z_TYPE_P(formdata) == IS_OBJECT && (Z_OBJCE_P(formdata)->ce_flags & ZEND_ACC_ENUM))… in PHP_FUNCTION()
|
H A D | var.c | 164 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_dump() 609 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_export_ex() 851 Z_OBJCE_P(obj)->__serialize, Z_OBJ_P(obj), retval); in php_var_serialize_call_magic_serialize() 861 zend_type_error("%s::__serialize() must return an array", ZSTR_VAL(Z_OBJCE_P(obj)->name)); in php_var_serialize_call_magic_serialize() 902 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_serialize_get_sleep_props() 1113 zend_class_entry *ce = Z_OBJCE_P(struc); in php_var_serialize_intern() 1184 char *s1 = zend_print_long_to_buf(b1 + sizeof(b1) - 1, ZSTR_LEN(Z_OBJCE_P(struc)->name)); in php_var_serialize_intern() 1188 …char *res = smart_str_extend(buf, 2 + l1 + 2 + ZSTR_LEN(Z_OBJCE_P(struc)->name) + 2 + l2 + 2 + ser… in php_var_serialize_intern() 1192 res = zend_mempcpy(res, ZSTR_VAL(Z_OBJCE_P(struc)->name), ZSTR_LEN(Z_OBJCE_P(struc)->name)); in php_var_serialize_intern()
|
/php-src/ext/intl/common/ |
H A D | common_date.cpp | 140 "initialized", func, ZSTR_VAL(Z_OBJCE_P(z)->name)); in intl_datetime_decompose() 200 if (instanceof_function(Z_OBJCE_P(z), php_date_get_interface_ce())) { in intl_zval_to_millis() 202 } else if (instanceof_function(Z_OBJCE_P(z), Calendar_ce_ptr)) { in intl_zval_to_millis()
|
/php-src/Zend/ |
H A D | zend_interfaces.c | 228 iterator->ce = Z_OBJCE_P(object); in zend_user_it_get_iterator() 247 …ble or implement interface Iterator", ce ? ZSTR_VAL(ce->name) : ZSTR_VAL(Z_OBJCE_P(object)->name)); in zend_user_it_get_new_iterator() 408 zend_class_entry * ce = Z_OBJCE_P(object); in zend_user_serialize() 413 Z_OBJ_P(object), Z_OBJCE_P(object), NULL, "serialize", &retval); in zend_user_serialize() 453 Z_OBJ_P(object), Z_OBJCE_P(object), NULL, "unserialize", NULL, &zdata); in zend_user_unserialize() 507 zend_object_iterator *iter = scope->get_iterator(Z_OBJCE_P(obj), obj, /* by_ref */ 0); in zend_create_internal_iterator_zval()
|
H A D | zend_smart_str.c | 230 } else if (Z_TYPE_P(value) == IS_OBJECT && (Z_OBJCE_P(value)->ce_flags & ZEND_ACC_ENUM)) { in smart_str_append_zval() 231 smart_str_append(dest, Z_OBJCE_P(value)->name); in smart_str_append_zval()
|
H A D | zend_exceptions.c | 666 …while (exception && Z_TYPE_P(exception) == IS_OBJECT && instanceof_function(Z_OBJCE_P(exception), … in ZEND_METHOD() 687 …if ((Z_OBJCE_P(exception) == zend_ce_type_error || Z_OBJCE_P(exception) == zend_ce_argument_count_… in ZEND_METHOD() 697 zend_string *name = Z_OBJCE_P(exception)->name; in ZEND_METHOD() 729 …e_ce = i_get_exception_base(Z_OBJ_P(exception))) && instanceof_function(Z_OBJCE_P(exception), base… in ZEND_METHOD() 997 zend_class_entry *exception_ce = Z_OBJCE_P(exception); in zend_throw_exception_object()
|
H A D | zend_builtin_functions.c | 602 RETURN_STR_COPY(Z_OBJCE_P(obj)->name); in ZEND_FUNCTION() 677 instance_ce = Z_OBJCE_P(obj); in is_a_impl() 948 ce = Z_OBJCE_P(klass); in ZEND_FUNCTION() 1007 ce = Z_OBJCE_P(object); in _property_exists() 1710 …zend_call_known_function(Z_OBJCE_P(&redacted_arg)->constructor, Z_OBJ_P(&redacted_arg), Z_OBJCE_P(… in debug_backtrace_get_args() 1742 …zend_call_known_function(Z_OBJCE_P(&redacted_arg)->constructor, Z_OBJ_P(&redacted_arg), Z_OBJCE_P(… in debug_backtrace_get_args() 1782 …zend_call_known_function(Z_OBJCE_P(&redacted_arg)->constructor, Z_OBJ_P(&redacted_arg), Z_OBJCE_P(… in debug_backtrace_get_args()
|
H A D | zend_closures.c | 84 !instanceof_function(Z_OBJCE_P(newthis), func->common.scope)) { in zend_valid_closure_binding() 89 ZSTR_VAL(Z_OBJCE_P(newthis)->name)); in zend_valid_closure_binding() 244 called_scope = Z_OBJCE_P(newthis); in do_closure_bind() 399 if (Z_TYPE_P(callable) == IS_OBJECT && instanceof_function(Z_OBJCE_P(callable), zend_ce_closure)) { in ZEND_METHOD()
|
/php-src/ext/intl/timezone/ |
H A D | timezone_class.cpp | 100 Z_OBJCE_P(ret)->constructor, Z_OBJ_P(ret), NULL, &arg); in timezone_convert_to_datetimezone() 147 instanceof_function(Z_OBJCE_P(zv_timezone), TimeZone_ce_ptr)) { in timezone_process_timezone_argument() 172 instanceof_function(Z_OBJCE_P(zv_timezone), php_date_get_timezone_ce())) { in timezone_process_timezone_argument()
|
/php-src/ext/spl/ |
H A D | spl_iterators.c | 517 || !instanceof_function(Z_OBJCE_P(retval), zend_ce_traversable)) { in spl_get_iterator_from_aggregate() 560 if (instanceof_function(Z_OBJCE_P(iterator), zend_ce_aggregate)) { in spl_recursive_it_it_construct() 562 &aggregate_retval, Z_OBJCE_P(iterator), Z_OBJ_P(iterator)) == FAILURE) { in spl_recursive_it_it_construct() 590 if (instanceof_function(Z_OBJCE_P(iterator), zend_ce_aggregate)) { in spl_recursive_it_it_construct() 592 &aggregate_retval, Z_OBJCE_P(iterator), Z_OBJ_P(iterator)) == FAILURE) { in spl_recursive_it_it_construct() 602 if (!instanceof_function(Z_OBJCE_P(iterator), spl_ce_RecursiveIterator)) { in spl_recursive_it_it_construct() 618 intern->ce = Z_OBJCE_P(object); in spl_recursive_it_it_construct() 1321 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct() 1338 ce = Z_OBJCE_P(zobject); in spl_dual_it_construct() 2773 intern->inner.ce = Z_OBJCE_P(it); in spl_append_it_next_iterator() [all …]
|
H A D | php_spl.c | 86 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 119 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 148 ce = Z_OBJCE_P(obj); in PHP_FUNCTION()
|
H A D | spl_array.c | 694 …not append properties to objects, use %s::offsetSet() instead", ZSTR_VAL(Z_OBJCE_P(object)->name)); in spl_array_iterator_append() 974 ZSTR_VAL(Z_OBJCE_P(array)->name), ZSTR_VAL(intern->std.ce->name)); in spl_array_set_array() 978 if (UNEXPECTED(Z_OBJCE_P(array)->ce_flags & ZEND_ACC_ENUM)) { in spl_array_set_array() 1870 if (instanceof_function(Z_OBJCE_P(entry), Z_OBJCE_P(ZEND_THIS))) { in PHP_METHOD() 1876 spl_instantiate_child_arg(Z_OBJCE_P(ZEND_THIS), return_value, entry, &flags); in PHP_METHOD()
|
/php-src/ext/mysqli/ |
H A D | php_mysqli_structs.h | 173 if (!object || !instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)) { \ 213 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(Z_OBJCE_P(__id)->name)); \
|
H A D | mysqli_nonapi.c | 88 ZEND_ASSERT(instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)); 293 ZEND_ASSERT(instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry)); 648 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) { 682 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry)) {
|
/php-src/ext/date/ |
H A D | php_date.c | 2921 DATE_CHECK_INITIALIZED(dateobj->time, Z_OBJCE_P(object)); in PHP_METHOD() 2941 DATE_CHECK_INITIALIZED(dateobj->time, Z_OBJCE_P(object)); in PHP_METHOD() 3218 DATE_CHECK_INITIALIZED(dateobj->time, Z_OBJCE_P(object)); in PHP_FUNCTION() 3232 date_throw_uninitialized_error(Z_OBJCE_P(object)); in php_date_modify() 3383 DATE_CHECK_INITIALIZED(dateobj->time, Z_OBJCE_P(object)); in php_date_add() 3435 DATE_CHECK_INITIALIZED(dateobj->time, Z_OBJCE_P(object)); in php_date_sub() 3543 DATE_CHECK_INITIALIZED(dateobj->time, Z_OBJCE_P(object)); in PHP_FUNCTION() 3561 DATE_CHECK_INITIALIZED(dateobj->time, Z_OBJCE_P(object)); in php_date_timezone_set() 3623 DATE_CHECK_INITIALIZED(dateobj->time, Z_OBJCE_P(object)); in PHP_FUNCTION() 5188 dpobj->start_ce = Z_OBJCE_P(start); in PHP_METHOD() [all …]
|
/php-src/ext/json/ |
H A D | json_encoder.c | 584 zend_class_entry *ce = Z_OBJCE_P(val); in php_json_encode_serializable_object() 649 zend_class_entry *ce = Z_OBJCE_P(val); in php_json_encode_serializable_enum() 693 if (instanceof_function(Z_OBJCE_P(val), php_json_serializable_ce)) { in php_json_encode_zval() 696 if (Z_OBJCE_P(val)->ce_flags & ZEND_ACC_ENUM) { in php_json_encode_zval()
|
/php-src/ext/dom/ |
H A D | xml_common.h | 63 ZSTR_VAL(Z_OBJCE_P(__zv)->name));\
|
/php-src/ext/pdo_mysql/ |
H A D | pdo_mysql.c | 66 if (Z_TYPE_P(zv) == IS_OBJECT && instanceof_function(Z_OBJCE_P(zv), php_pdo_get_dbh_ce())) { in ZEND_GET_MODULE()
|
/php-src/ext/intl/dateformat/ |
H A D | dateformat_format_object.cpp | 152 zend_class_entry *instance_ce = Z_OBJCE_P(object); in PHP_FUNCTION()
|
/php-src/ext/com_dotnet/ |
H A D | php_com_dotnet_internal.h | 53 zend_class_entry *ce = Z_OBJCE_P(zv); in php_com_is_valid_object()
|
/php-src/ext/soap/ |
H A D | soap.c | 1452 function_table = &((Z_OBJCE_P(soap_obj))->function_table); in PHP_METHOD() 1466 if (EXPECTED(Z_OBJCE_P(tmp_soap_p) == service->soap_class.ce)) { in PHP_METHOD() 1468 } else if (Z_OBJCE_P(tmp_soap_p) == php_ce_incomplete_class) { in PHP_METHOD() 1510 function_table = &((Z_OBJCE_P(soap_obj))->function_table); in PHP_METHOD() 1968 instanceof_function(Z_OBJCE_P(fault), soap_fault_class_entry)) { in PHP_FUNCTION() 2328 ZEND_ASSERT(instanceof_function(Z_OBJCE_P(tmp), soap_sdl_class_entry)); in do_soap_call() 2505 !instanceof_function(Z_OBJCE_P(tmp), soap_header_class_entry)) { in verify_soap_headers_array() 2901 ZEND_ASSERT(instanceof_function(Z_OBJCE_P(obj), soap_class_entry)); in clear_soap_fault() 2911 if (instanceof_function(Z_OBJCE_P(obj), soap_class_entry)) { in add_soap_fault_ex() 3578 instanceof_function(Z_OBJCE_P(ret), soap_fault_class_entry)) { in serialize_response_call() [all …]
|
H A D | php_encoding.c | 456 zend_class_entry *ce = Z_OBJCE_P(data); in master_to_xml_int() 838 if (Z_OBJCE_P(data)->ce_flags & ZEND_ACC_ENUM) { in get_serialization_string_from_zval() 839 if (UNEXPECTED(Z_OBJCE_P(data)->enum_backing_type == IS_UNDEF)) { in get_serialization_string_from_zval() 857 if (Z_OBJCE_P(data)->ce_flags & ZEND_ACC_ENUM) { in get_serialization_long_from_zval() 858 if (UNEXPECTED(Z_OBJCE_P(data)->enum_backing_type != IS_LONG)) { in get_serialization_long_from_zval() 859 if (Z_OBJCE_P(data)->enum_backing_type == IS_UNDEF) { in get_serialization_long_from_zval() 1206 zend_update_property(Z_OBJCE_P(object), Z_OBJ_P(object), name, strlen(name), val); in set_zval_property() 1228 zend_unset_property(Z_OBJCE_P(object), Z_OBJ_P(object), name, strlen(name)); in unset_zval_property() 2264 zend_class_entry *ce = Z_OBJCE_P(data); in to_xml_array() 2975 if (instanceof_function_slow(Z_OBJCE_P(data), php_date_get_interface_ce())) { in to_xml_datetime_ex() [all …]
|
/php-src/ext/intl/breakiterator/ |
H A D | breakiterator_iterators.cpp | 267 Z_OBJ_P(iter), Z_OBJCE_P(iter), NULL, "getrulestatus", return_value); in PHP_METHOD()
|