Searched refs:cast_object (Results 1 – 20 of 20) sorted by relevance
/PHP-8.4/ext/spl/tests/ |
H A D | bug62328.phpt | 2 Bug #62328 (cast_object takes precedence over __toString)
|
/PHP-8.4/ext/zend_test/ |
H A D | object_handlers.c | 293 long_castable_no_operation_object_handlers.cast_object = long_castable_no_operation_cast_object; in zend_test_object_handlers_init() 298 float_castable_no_operation_object_handlers.cast_object = float_castable_no_operation_cast_object; in zend_test_object_handlers_init() 303 …numeric_castable_no_operation_object_handlers.cast_object = numeric_castable_no_operation_cast_obj… in zend_test_object_handlers_init()
|
/PHP-8.4/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.4/Zend/ |
H A D | zend_object_handlers.h | 225 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() 1032 if (Z_OBJ_HT_P(op)->cast_object(Z_OBJ_P(op), &tmp, IS_STRING) == SUCCESS) { in __zval_get_string_func() 2693 if (Z_OBJ_HT_P(op1)->cast_object(Z_OBJ_P(op1), &tmp, _IS_NUMBER) == SUCCESS) { in increment_function() 2800 if (Z_OBJ_HT_P(op1)->cast_object(Z_OBJ_P(op1), &tmp, _IS_NUMBER) == SUCCESS) { in decrement_function() 2829 if (zobj->handlers->cast_object(zobj, &tmp, _IS_BOOL) == SUCCESS) { in zend_object_is_true()
|
H A D | zend_operators.h | 424 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 | 2068 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 | 736 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_number_or_str_slow() 761 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
|
H A D | zend_execute.c | 778 return Z_OBJ_HT_P(zv)->cast_object != zend_std_cast_object_tostring in can_convert_to_string()
|
/PHP-8.4/ext/curl/ |
H A D | multi.c | 593 curl_multi_handlers.cast_object = curl_cast_object; in curl_multi_register_handlers()
|
H A D | interface.c | 405 curl_object_handlers.cast_object = curl_cast_object; in PHP_MINIT_FUNCTION()
|
/PHP-8.4/ext/tidy/ |
H A D | tidy.c | 847 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler; in PHP_MINIT_FUNCTION() 848 tidy_object_handlers_node.cast_object = tidy_node_cast_handler; in PHP_MINIT_FUNCTION()
|
/PHP-8.4/ext/simplexml/ |
H A D | simplexml.c | 1793 static zend_result cast_object(zval *object, int type, char *contents) in cast_object() function 1864 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex() 2665 sxe_object_handlers.cast_object = sxe_object_cast; in PHP_MINIT_FUNCTION()
|
/PHP-8.4/ext/dba/ |
H A D | dba.c | 417 dba_connection_object_handlers.cast_object = dba_connection_cast_object; in PHP_MINIT_FUNCTION()
|
/PHP-8.4/ext/odbc/ |
H A D | php_odbc.c | 520 odbc_connection_object_handlers.cast_object = odbc_connection_cast_object; in PHP_MINIT_FUNCTION() 532 odbc_result_object_handlers.cast_object = odbc_result_cast_object; in PHP_MINIT_FUNCTION()
|
/PHP-8.4/ext/bcmath/ |
H A D | bcmath.c | 1015 bcmath_number_obj_handlers.cast_object = bcmath_number_cast_object; in bcmath_number_register_class()
|
/PHP-8.4/ext/ffi/ |
H A D | ffi.c | 5453 zend_ffi_handlers.cast_object = zend_fake_cast_object; 5481 zend_ffi_cdata_handlers.cast_object = zend_ffi_cdata_cast_object; 5504 zend_ffi_cdata_value_handlers.cast_object = zend_ffi_cdata_cast_object; 5527 zend_ffi_cdata_free_handlers.cast_object = zend_fake_cast_object; 5554 zend_ffi_ctype_handlers.cast_object = zend_fake_cast_object;
|
/PHP-8.4/ext/gmp/ |
H A D | gmp.c | 607 gmp_object_handlers.cast_object = gmp_cast_object; in ZEND_MINIT_FUNCTION()
|
/PHP-8.4/ext/soap/ |
H A D | soap.c | 530 soap_url_object_handlers.cast_object = soap_url_cast_object; in PHP_MINIT_FUNCTION() 542 soap_url_object_handlers.cast_object = soap_sdl_cast_object; in PHP_MINIT_FUNCTION()
|
/PHP-8.4/ext/standard/ |
H A D | array.c | 6388 zend_result status = Z_OBJ_HT_P(entry)->cast_object(Z_OBJ_P(entry), &dst, _IS_NUMBER);
|
Completed in 181 milliseconds