Home
last modified time | relevance | path

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

/php-src/ext/spl/tests/
H A Dbug62328.phpt2 Bug #62328 (cast_object takes precedence over __toString)
/php-src/ext/zend_test/
H A Dobject_handlers.c293 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-src/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-src/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.h411 if (EXPECTED(Z_OBJ_HT_P(op)->cast_object == zend_std_cast_object_tostring)) { in i_zend_is_true()
H A Dzend_object_handlers.c1715 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.c710 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_number_or_str_slow()
735 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
H A Dzend_execute.c776 return Z_OBJ_HT_P(zv)->cast_object != zend_std_cast_object_tostring in can_convert_to_string()
/php-src/ext/curl/
H A Dmulti.c592 curl_multi_handlers.cast_object = curl_cast_object; in curl_multi_register_handlers()
H A Dinterface.c407 curl_object_handlers.cast_object = curl_cast_object; in PHP_MINIT_FUNCTION()
/php-src/ext/tidy/
H A Dtidy.c846 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler; in PHP_MINIT_FUNCTION()
847 tidy_object_handlers_node.cast_object = tidy_node_cast_handler; in PHP_MINIT_FUNCTION()
/php-src/ext/simplexml/
H A Dsimplexml.c1762 static zend_result cast_object(zval *object, int type, char *contents) in cast_object() function
1833 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex()
2655 sxe_object_handlers.cast_object = sxe_object_cast; in PHP_MINIT_FUNCTION()
/php-src/ext/ffi/
H A Dffi.c5437 zend_ffi_handlers.cast_object = zend_fake_cast_object;
5465 zend_ffi_cdata_handlers.cast_object = zend_ffi_cdata_cast_object;
5488 zend_ffi_cdata_value_handlers.cast_object = zend_ffi_cdata_cast_object;
5511 zend_ffi_cdata_free_handlers.cast_object = zend_fake_cast_object;
5538 zend_ffi_ctype_handlers.cast_object = zend_fake_cast_object;
/php-src/ext/gmp/
H A Dgmp.c543 gmp_object_handlers.cast_object = gmp_cast_object; in ZEND_MINIT_FUNCTION()
/php-src/ext/standard/
H A Darray.c6389 zend_result status = Z_OBJ_HT_P(entry)->cast_object(Z_OBJ_P(entry), &dst, _IS_NUMBER);

Completed in 146 milliseconds