Home
last modified time | relevance | path

Searched refs:cast_object (Results 1 – 16 of 16) sorted by relevance

/PHP-8.3/ext/spl/tests/
H A Dbug62328.phpt2 Bug #62328 (cast_object takes precedence over __toString)
/PHP-8.3/ext/zend_test/
H A Dobject_handlers.c247 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 Dcollator_convert.c218 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 Dzend_object_handlers.h181 zend_object_cast_t cast_object; /* required */ member
H A Dzend_operators.c234 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 Dzend_operators.h415 if (EXPECTED(Z_OBJ_HT_P(op)->cast_object == zend_std_cast_object_tostring)) { in i_zend_is_true()
H A Dzend_object_handlers.c1727 if (Z_OBJ_HT_P(object)->cast_object(Z_OBJ_P(object), &casted, target_type) == FAILURE) { in zend_std_compare_objects()
H A Dzend_API.c694 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 Dzend_execute.c774 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 Dmulti.c611 curl_multi_handlers.cast_object = curl_cast_object; in curl_multi_register_handlers()
H A Dinterface.c420 curl_object_handlers.cast_object = curl_cast_object; in PHP_MINIT_FUNCTION()
/PHP-8.3/ext/tidy/
H A Dtidy.c851 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 Dsimplexml.c1827 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 Dffi.c5446 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 Dgmp.c603 gmp_object_handlers.cast_object = gmp_cast_object; in ZEND_MINIT_FUNCTION()
/PHP-8.3/ext/standard/
H A Darray.c6265 zend_result status = Z_OBJ_HT_P(entry)->cast_object(Z_OBJ_P(entry), &dst, _IS_NUMBER);

Completed in 167 milliseconds