Home
last modified time | relevance | path

Searched refs:cast_object (Results 1 – 20 of 20) 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.h225 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()
1032 if (Z_OBJ_HT_P(op)->cast_object(Z_OBJ_P(op), &tmp, IS_STRING) == SUCCESS) { in __zval_get_string_func()
2696 if (Z_OBJ_HT_P(op1)->cast_object(Z_OBJ_P(op1), &tmp, _IS_NUMBER) == SUCCESS) { in increment_function()
2803 if (Z_OBJ_HT_P(op1)->cast_object(Z_OBJ_P(op1), &tmp, _IS_NUMBER) == SUCCESS) { in decrement_function()
2832 if (zobj->handlers->cast_object(zobj, &tmp, _IS_BOOL) == SUCCESS) { in zend_object_is_true()
H A Dzend_operators.h424 if (EXPECTED(Z_OBJ_HT_P(op)->cast_object == zend_std_cast_object_tostring)) { in i_zend_is_true()
H A Dzend_object_handlers.c2068 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.c736 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_number_or_str_slow()
761 if (zobj->handlers->cast_object(zobj, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
H A Dzend_execute.c778 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.c616 curl_multi_handlers.cast_object = curl_cast_object; in curl_multi_register_handlers()
H A Dinterface.c405 curl_object_handlers.cast_object = curl_cast_object; in PHP_MINIT_FUNCTION()
/php-src/ext/tidy/
H A Dtidy.c847 tidy_object_handlers_doc.cast_object = tidy_doc_cast_handler; in PHP_MINIT_FUNCTION()
848 tidy_object_handlers_node.cast_object = tidy_node_cast_handler; in PHP_MINIT_FUNCTION()
/php-src/ext/simplexml/
H A Dsimplexml.c1793 static zend_result cast_object(zval *object, int type, char *contents) in cast_object() function
1864 rv = cast_object(writeobj, type, (char *)contents); in sxe_object_cast_ex()
2669 sxe_object_handlers.cast_object = sxe_object_cast; in PHP_MINIT_FUNCTION()
/php-src/ext/dba/
H A Ddba.c417 dba_connection_object_handlers.cast_object = dba_connection_cast_object; in PHP_MINIT_FUNCTION()
/php-src/ext/odbc/
H A Dphp_odbc.c520 odbc_connection_object_handlers.cast_object = odbc_connection_cast_object; in PHP_MINIT_FUNCTION()
532 odbc_result_object_handlers.cast_object = odbc_result_cast_object; in PHP_MINIT_FUNCTION()
/php-src/ext/bcmath/
H A Dbcmath.c1018 bcmath_number_obj_handlers.cast_object = bcmath_number_cast_object; in bcmath_number_register_class()
/php-src/ext/ffi/
H A Dffi.c5488 zend_ffi_handlers.cast_object = zend_fake_cast_object;
5516 zend_ffi_cdata_handlers.cast_object = zend_ffi_cdata_cast_object;
5539 zend_ffi_cdata_value_handlers.cast_object = zend_ffi_cdata_cast_object;
5562 zend_ffi_cdata_free_handlers.cast_object = zend_fake_cast_object;
5589 zend_ffi_ctype_handlers.cast_object = zend_fake_cast_object;
/php-src/ext/gmp/
H A Dgmp.c607 gmp_object_handlers.cast_object = gmp_cast_object; in ZEND_MINIT_FUNCTION()
/php-src/ext/soap/
H A Dsoap.c530 soap_url_object_handlers.cast_object = soap_url_cast_object; in PHP_MINIT_FUNCTION()
542 soap_url_object_handlers.cast_object = soap_sdl_cast_object; in PHP_MINIT_FUNCTION()
/php-src/ext/standard/
H A Darray.c6388 zend_result status = Z_OBJ_HT_P(entry)->cast_object(Z_OBJ_P(entry), &dst, _IS_NUMBER);

Completed in 142 milliseconds