Home
last modified time | relevance | path

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

/PHP-7.0/ext/spl/tests/
H A Dbug62328.phpt2 Bug #62328 (cast_object takes precedence over __toString)
/PHP-7.0/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-7.0/ext/intl/collator/
H A Dcollator_convert.c257 else if( Z_OBJ_HT_P(obj)->cast_object ) in collator_convert_object_to_string()
261 if( Z_OBJ_HT_P(obj)->cast_object( obj, zstr, IS_STRING CAST_OBJECT_SHOULD_FREE ) == FAILURE ) in collator_convert_object_to_string()
/PHP-7.0/Zend/
H A Dzend_operators.c239 if (Z_OBJ_HT_P(op)->cast_object) { \
240 if (Z_OBJ_HT_P(op)->cast_object(op, dst, ctype) == FAILURE) { \
423 if (Z_OBJ_HT_P(op)->cast_object) { in convert_to_null()
427 if (Z_OBJ_HT_P(op)->cast_object(&org, op, IS_NULL) == SUCCESS) { in convert_to_null()
852 if (Z_OBJ_HT_P(op)->cast_object) { in _zval_get_string_func()
853 if (Z_OBJ_HT_P(op)->cast_object(op, &tmp, IS_STRING) == SUCCESS) { in _zval_get_string_func()
1998 } else if (Z_TYPE_P(op2) != IS_OBJECT && Z_OBJ_HT_P(op1)->cast_object) { in compare_function()
2000 …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()
2017 } else if (Z_TYPE_P(op1) != IS_OBJECT && Z_OBJ_HT_P(op2)->cast_object) { in compare_function()
2483 if (Z_OBJ_HT_P(op)->cast_object) { in zend_object_is_true()
[all …]
H A Dzend_object_handlers.h149 zend_object_cast_t cast_object; member
H A Dzend_builtin_functions.c873 } else if (Z_OBJ_HT_P(val)->cast_object) { in ZEND_FUNCTION()
874 if (Z_OBJ_HT_P(val)->cast_object(val, &val_free, IS_STRING) == SUCCESS) { in ZEND_FUNCTION()
H A Dzend_API.c456 if (Z_OBJ_HANDLER_P(arg, cast_object)) { in zend_parse_arg_str_weak()
458 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
H A Dzend_vm_def.h5335 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
5336 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
H A Dzend_vm_execute.h3510 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
3511 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
12178 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
12179 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
15649 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
15650 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
29369 if (Z_TYPE_P(expr) == IS_OBJECT && Z_OBJ_HT_P(expr)->cast_object) {
29370 if (Z_OBJ_HT_P(expr)->cast_object(expr, result, IS_NULL) == SUCCESS) {
/PHP-7.0/ext/tidy/
H A Dtidy.c1046 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler; in PHP_MINIT_FUNCTION()
1047 tidy_object_handlers_node.cast_object = tidy_node_cast_handler; in PHP_MINIT_FUNCTION()
/PHP-7.0/ext/simplexml/
H A Dsimplexml.c1850 static int cast_object(zval *object, int type, char *contents) in cast_object() function
1922 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex()
/PHP-7.0/ext/spl/
H A Dspl_directory.c1839 return std_object_handlers.cast_object(readobj, writeobj, type); in spl_filesystem_object_cast()
3108 spl_filesystem_object_handlers.cast_object = spl_filesystem_object_cast; in PHP_MINIT_FUNCTION()
/PHP-7.0/ext/gmp/
H A Dgmp.c659 gmp_object_handlers.cast_object = gmp_cast_object; in ZEND_MINIT_FUNCTION()

Completed in 267 milliseconds