Searched refs:cast_object (Results 1 – 16 of 16) sorted by relevance
/PHP-8.3/ext/spl/tests/ |
H A D | bug62328.phpt | 2 Bug #62328 (cast_object takes precedence over __toString)
|
/PHP-8.3/ext/zend_test/ |
H A D | object_handlers.c | 247 long_castable_no_operation_object_handlers.cast_object = long_castable_no_operation_cast_object; in zend_test_object_handlers_init() 252 float_castable_no_operation_object_handlers.cast_object = float_castable_no_operation_cast_object; in zend_test_object_handlers_init() 257 …numeric_castable_no_operation_object_handlers.cast_object = numeric_castable_no_operation_cast_obj… in zend_test_object_handlers_init()
|
/PHP-8.3/ext/intl/collator/ |
H A D | collator_convert.c | 218 if( Z_OBJ_HT_P(obj)->cast_object( Z_OBJ_P(obj), zstr, IS_STRING ) == FAILURE ) in collator_convert_object_to_string()
|
/PHP-8.3/Zend/ |
H A D | zend_object_handlers.h | 181 zend_object_cast_t cast_object; /* required */ member
|
H A D | zend_operators.c | 234 if (Z_OBJ_HT_P(op)->cast_object(Z_OBJ_P(op), dst, ctype) == FAILURE) { \ 353 if (Z_OBJ_HT_P(op)->cast_object(Z_OBJ_P(op), holder, _IS_NUMBER) == FAILURE in _zendi_try_convert_scalar_to_number() 439 if (Z_OBJ_HT_P(op)->cast_object(Z_OBJ_P(op), &dst, IS_LONG) == FAILURE in zendi_try_get_long() 762 if (Z_OBJ_HT_P(op)->cast_object(Z_OBJ_P(op), &tmp, IS_STRING) == SUCCESS) { in _convert_to_string() 1034 if (Z_OBJ_HT_P(op)->cast_object(Z_OBJ_P(op), &tmp, IS_STRING) == SUCCESS) { in __zval_get_string_func() 2681 if (Z_OBJ_HT_P(op1)->cast_object(Z_OBJ_P(op1), &tmp, _IS_NUMBER) == SUCCESS) { in increment_function() 2788 if (Z_OBJ_HT_P(op1)->cast_object(Z_OBJ_P(op1), &tmp, _IS_NUMBER) == SUCCESS) { in decrement_function() 2817 if (zobj->handlers->cast_object(zobj, &tmp, _IS_BOOL) == SUCCESS) { in zend_object_is_true()
|
H A D | zend_operators.h | 415 if (EXPECTED(Z_OBJ_HT_P(op)->cast_object == zend_std_cast_object_tostring)) { in i_zend_is_true()
|
H A D | zend_object_handlers.c | 1727 if (Z_OBJ_HT_P(object)->cast_object(Z_OBJ_P(object), &casted, target_type) == FAILURE) { in zend_std_compare_objects()
|
H A D | zend_API.c | 694 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_number_or_str_slow() 719 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
|
H A D | zend_execute.c | 774 return Z_OBJ_HT_P(zv)->cast_object != zend_std_cast_object_tostring in can_convert_to_string()
|
/PHP-8.3/ext/curl/ |
H A D | multi.c | 611 curl_multi_handlers.cast_object = curl_cast_object; in curl_multi_register_handlers()
|
H A D | interface.c | 420 curl_object_handlers.cast_object = curl_cast_object; in PHP_MINIT_FUNCTION()
|
/PHP-8.3/ext/tidy/ |
H A D | tidy.c | 851 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler; in PHP_MINIT_FUNCTION() 852 tidy_object_handlers_node.cast_object = tidy_node_cast_handler; in PHP_MINIT_FUNCTION()
|
/PHP-8.3/ext/simplexml/ |
H A D | simplexml.c | 1827 static zend_result cast_object(zval *object, int type, char *contents) in cast_object() function 1901 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex() 2722 sxe_object_handlers.cast_object = sxe_object_cast; in PHP_MINIT_FUNCTION()
|
/PHP-8.3/ext/ffi/ |
H A D | ffi.c | 5446 zend_ffi_handlers.cast_object = zend_fake_cast_object; 5474 zend_ffi_cdata_handlers.cast_object = zend_ffi_cdata_cast_object; 5497 zend_ffi_cdata_value_handlers.cast_object = zend_ffi_cdata_cast_object; 5520 zend_ffi_cdata_free_handlers.cast_object = zend_fake_cast_object; 5547 zend_ffi_ctype_handlers.cast_object = zend_fake_cast_object;
|
/PHP-8.3/ext/gmp/ |
H A D | gmp.c | 603 gmp_object_handlers.cast_object = gmp_cast_object; in ZEND_MINIT_FUNCTION()
|
/PHP-8.3/ext/standard/ |
H A D | array.c | 6265 zend_result status = Z_OBJ_HT_P(entry)->cast_object(Z_OBJ_P(entry), &dst, _IS_NUMBER);
|
Completed in 167 milliseconds