Home
last modified time | relevance | path

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

/PHP-5.4/ext/spl/tests/
H A Dbug62328.phpt2 Bug #62328 (cast_object takes precedence over __toString)
/PHP-5.4/ext/standard/tests/mail/
H A Dezmlm_hash_error.phpt24 echo "\n-- Testing ezmlm_hash() function with invalid input - OBJECT without 'cast_object' method -…
57 -- Testing ezmlm_hash() function with invalid input - OBJECT without 'cast_object' method --
/PHP-5.4/ext/intl/collator/
H A Dcollator_convert.c280 else if( Z_OBJ_HT_P(obj)->cast_object ) in collator_convert_object_to_string()
284 …if( Z_OBJ_HT_P(obj)->cast_object( obj, zstr, IS_STRING CAST_OBJECT_SHOULD_FREE TSRMLS_CC ) == FAIL… in collator_convert_object_to_string()
/PHP-5.4/Zend/
H A Dzend_operators.c298 if (Z_OBJ_HT_P(op)->cast_object) { \
300 if (Z_OBJ_HT_P(op)->cast_object(op, &dst, ctype TSRMLS_CC) == FAILURE) { \
454 if (Z_OBJ_HT_P(op)->cast_object) { in convert_to_null()
460 if (Z_OBJ_HT_P(op)->cast_object(org, op, IS_NULL TSRMLS_CC) == SUCCESS) { in convert_to_null()
1499 } else if (Z_TYPE_P(op2) != IS_OBJECT && Z_OBJ_HT_P(op1)->cast_object) { in compare_function()
1501 if (Z_OBJ_HT_P(op1)->cast_object(op1, op_free, Z_TYPE_P(op2) TSRMLS_CC) == FAILURE) { in compare_function()
1517 } else if (Z_TYPE_P(op1) != IS_OBJECT && Z_OBJ_HT_P(op2)->cast_object) { in compare_function()
1519 if (Z_OBJ_HT_P(op2)->cast_object(op2, op_free, Z_TYPE_P(op1) TSRMLS_CC) == FAILURE) { in compare_function()
H A Dzend_execute.h132 if (Z_OBJ_HT_P(op)->cast_object) { in i_zend_is_true()
134 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_BOOL TSRMLS_CC) == SUCCESS) { in i_zend_is_true()
H A Dzend_object_handlers.h140 zend_object_cast_t cast_object; member
H A Dzend.c260 if (Z_OBJ_HANDLER_P(expr, cast_object)) { in zend_make_printable_zval()
266 if (Z_OBJ_HANDLER_P(expr, cast_object)(val, expr_copy, IS_STRING TSRMLS_CC) == SUCCESS) { in zend_make_printable_zval()
272 if (!Z_OBJ_HANDLER_P(expr, cast_object) && Z_OBJ_HANDLER_P(expr, get)) { in zend_make_printable_zval()
H A Dzend_API.c263 if (Z_OBJ_HANDLER_PP(arg, cast_object)) { in parse_arg_object_to_string()
266 if (Z_OBJ_HANDLER_P(*arg, cast_object)(*arg, obj, type TSRMLS_CC) == SUCCESS) { in parse_arg_object_to_string()
276 if (Z_OBJ_HT_PP(arg) == &std_object_handlers || !Z_OBJ_HANDLER_PP(arg, cast_object)) { in parse_arg_object_to_string()
284 if (!Z_OBJ_HANDLER_PP(arg, cast_object) && Z_OBJ_HANDLER_PP(arg, get)) { in parse_arg_object_to_string()
H A Dzend_builtin_functions.c686 } else if (Z_OBJ_HT_P(val)->cast_object) { in ZEND_FUNCTION()
688 if (Z_OBJ_HT_P(val)->cast_object(val, val_free, IS_STRING TSRMLS_CC) == SUCCESS) { in ZEND_FUNCTION()
/PHP-5.4/ext/tidy/
H A Dtidy.c1077 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler; in PHP_MINIT_FUNCTION()
1078 tidy_object_handlers_node.cast_object = tidy_node_cast_handler; in PHP_MINIT_FUNCTION()
/PHP-5.4/ext/simplexml/
H A Dsimplexml.c1772 static int cast_object(zval *object, int type, char *contents TSRMLS_DC) in cast_object() function
1848 rv = cast_object(writeobj, type, (char *)contents TSRMLS_CC); in sxe_object_cast()
/PHP-5.4/ext/spl/
H A Dspl_directory.c1888 return std_object_handlers.cast_object(readobj, writeobj, type TSRMLS_CC); in spl_filesystem_object_cast()
3018 spl_filesystem_object_handlers.cast_object = spl_filesystem_object_cast; in PHP_MINIT_FUNCTION()

Completed in 94 milliseconds