Searched refs:cast_object (Results 1 – 13 of 13) sorted by relevance
/PHP-7.0/ext/spl/tests/ |
H A D | bug62328.phpt | 2 Bug #62328 (cast_object takes precedence over __toString)
|
/PHP-7.0/ext/standard/tests/mail/ |
H A D | ezmlm_hash_error.phpt | 24 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 D | collator_convert.c | 257 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 D | zend_operators.c | 239 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 D | zend_object_handlers.h | 149 zend_object_cast_t cast_object; member
|
H A D | zend_builtin_functions.c | 873 } 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 D | zend_API.c | 456 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 D | zend_vm_def.h | 5335 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 D | zend_vm_execute.h | 3510 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 D | tidy.c | 1046 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 D | simplexml.c | 1850 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 D | spl_directory.c | 1839 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 D | gmp.c | 659 gmp_object_handlers.cast_object = gmp_cast_object; in ZEND_MINIT_FUNCTION()
|
Completed in 267 milliseconds