Searched refs:cast_object (Results 1 – 12 of 12) sorted by relevance
/PHP-7.4/ext/spl/tests/ |
H A D | bug62328.phpt | 2 Bug #62328 (cast_object takes precedence over __toString)
|
/PHP-7.4/ext/intl/collator/ |
H A D | collator_convert.c | 251 else if( Z_OBJ_HT_P(obj)->cast_object ) in collator_convert_object_to_string() 255 if( Z_OBJ_HT_P(obj)->cast_object( obj, zstr, IS_STRING ) == FAILURE ) in collator_convert_object_to_string()
|
/PHP-7.4/Zend/ |
H A D | zend_operators.c | 140 if (Z_OBJ_HT_P(op)->cast_object) { \ 141 if (Z_OBJ_HT_P(op)->cast_object(op, dst, ctype) == FAILURE) { \ 576 if (Z_OBJ_HT_P(op)->cast_object) { in _convert_to_string() 577 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_STRING) == SUCCESS) { in _convert_to_string() 894 if (Z_OBJ_HT_P(op)->cast_object) { in __zval_get_string_func() 895 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_STRING) == SUCCESS) { in __zval_get_string_func() 2142 } else if (Z_TYPE_P(op2) != IS_OBJECT && Z_OBJ_HT_P(op1)->cast_object) { in compare_function() 2144 …if (Z_OBJ_HT_P(op1)->cast_object(op1, &tmp_free, ((Z_TYPE_P(op2) == IS_FALSE || Z_TYPE_P(op2) == I… in compare_function() 2161 } else if (Z_TYPE_P(op1) != IS_OBJECT && Z_OBJ_HT_P(op2)->cast_object) { in compare_function() 2602 if (Z_OBJ_HT_P(op)->cast_object) { in zend_object_is_true() [all …]
|
H A D | zend_object_handlers.h | 178 zend_object_cast_t cast_object; /* optional */ member
|
H A D | zend_builtin_functions.c | 900 } else if (Z_OBJ_HT_P(val)->cast_object) { in ZEND_FUNCTION() 901 if (Z_OBJ_HT_P(val)->cast_object(val, &val_free, IS_STRING) == SUCCESS) { in ZEND_FUNCTION()
|
H A D | zend_operators.h | 370 if (EXPECTED(Z_OBJ_HT_P(op)->cast_object == zend_std_cast_object_tostring)) { in i_zend_is_true()
|
H A D | zend_API.c | 556 if (Z_OBJ_HANDLER_P(arg, cast_object)) { in zend_parse_arg_str_weak() 558 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
|
/PHP-7.4/ext/simplexml/ |
H A D | simplexml.c | 1845 static int cast_object(zval *object, int type, char *contents) in cast_object() function 1916 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex() 2726 sxe_object_handlers.cast_object = sxe_object_cast; in PHP_MINIT_FUNCTION()
|
/PHP-7.4/ext/tidy/ |
H A D | tidy.c | 1085 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler; in PHP_MINIT_FUNCTION() 1086 tidy_object_handlers_node.cast_object = tidy_node_cast_handler; in PHP_MINIT_FUNCTION()
|
/PHP-7.4/ext/ffi/ |
H A D | ffi.c | 5044 zend_ffi_handlers.cast_object = NULL; 5077 zend_ffi_cdata_handlers.cast_object = zend_ffi_cdata_cast_object; 5100 zend_ffi_cdata_value_handlers.cast_object = zend_ffi_cdata_cast_object; 5124 zend_ffi_cdata_free_handlers.cast_object = NULL; 5154 zend_ffi_ctype_handlers.cast_object = NULL;
|
/PHP-7.4/ext/gmp/ |
H A D | gmp.c | 668 gmp_object_handlers.cast_object = gmp_cast_object; in ZEND_MINIT_FUNCTION()
|
/PHP-7.4/ext/spl/ |
H A D | spl_directory.c | 3148 spl_filesystem_object_handlers.cast_object = spl_filesystem_object_cast; in PHP_MINIT_FUNCTION()
|
Completed in 175 milliseconds