readobj          1520 Zend/zend_object_handlers.c ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type) /* {{{ */
readobj          1527 Zend/zend_object_handlers.c 			ce = Z_OBJCE_P(readobj);
readobj          1529 Zend/zend_object_handlers.c 				(zend_call_method_with_0_params(readobj, ce, &ce->__tostring, "__tostring", &retval) || EG(exception))) {
readobj          1546 Zend/zend_object_handlers.c 					if (readobj == writeobj) {
readobj          1547 Zend/zend_object_handlers.c 						zval_ptr_dtor(readobj);
readobj          1553 Zend/zend_object_handlers.c 					if (readobj == writeobj) {
readobj          1554 Zend/zend_object_handlers.c 						zval_ptr_dtor(readobj);
readobj          1566 Zend/zend_object_handlers.c 			ce = Z_OBJCE_P(readobj);
readobj          1568 Zend/zend_object_handlers.c 			if (readobj == writeobj) {
readobj          1569 Zend/zend_object_handlers.c 				zval_dtor(readobj);
readobj          1574 Zend/zend_object_handlers.c 			ce = Z_OBJCE_P(readobj);
readobj          1576 Zend/zend_object_handlers.c 			if (readobj == writeobj) {
readobj          1577 Zend/zend_object_handlers.c 				zval_dtor(readobj);
readobj           112 Zend/zend_object_handlers.h typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type);
readobj           171 Zend/zend_object_handlers.h ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type);
readobj           467 ext/com_dotnet/com_handlers.c static int com_object_cast(zval *readobj, zval *writeobj, int type)
readobj           474 ext/com_dotnet/com_handlers.c 	obj = CDNO_FETCH(readobj);
readobj           520 ext/com_dotnet/com_handlers.c 	return zend_std_cast_object_tostring(readobj, writeobj, type);
readobj           346 ext/com_dotnet/com_saproxy.c static int saproxy_object_cast(zval *readobj, zval *writeobj, int type)
readobj           410 ext/gmp/gmp.c  static int gmp_cast_object(zval *readobj, zval *writeobj, int type) /* {{{ */
readobj           415 ext/gmp/gmp.c  		gmpnum = GET_GMP_FROM_ZVAL(readobj);
readobj           419 ext/gmp/gmp.c  		gmpnum = GET_GMP_FROM_ZVAL(readobj);
readobj           423 ext/gmp/gmp.c  		gmpnum = GET_GMP_FROM_ZVAL(readobj);
readobj          1859 ext/simplexml/simplexml.c static int sxe_object_cast_ex(zval *readobj, zval *writeobj, int type)
readobj          1866 ext/simplexml/simplexml.c 	sxe = Z_SXEOBJ_P(readobj);
readobj          1873 ext/simplexml/simplexml.c 			ZVAL_BOOL(writeobj, !sxe_prop_is_empty(readobj));
readobj          1897 ext/simplexml/simplexml.c 	if (readobj == writeobj) {
readobj          1898 ext/simplexml/simplexml.c 		zval_ptr_dtor(readobj);
readobj          1912 ext/simplexml/simplexml.c static int sxe_object_cast(zval *readobj, zval *writeobj, int type)
readobj          1915 ext/simplexml/simplexml.c 		&& zend_std_cast_object_tostring(readobj, writeobj, IS_STRING) == SUCCESS
readobj          1920 ext/simplexml/simplexml.c 	return sxe_object_cast_ex(readobj, writeobj, type);
readobj          1833 ext/spl/spl_directory.c static int spl_filesystem_object_cast(zval *readobj, zval *writeobj, int type)
readobj          1835 ext/spl/spl_directory.c 	spl_filesystem_object *intern = Z_SPLFILESYSTEM_P(readobj);
readobj          1838 ext/spl/spl_directory.c 		if (Z_OBJCE_P(readobj)->__tostring) {
readobj          1839 ext/spl/spl_directory.c 			return std_object_handlers.cast_object(readobj, writeobj, type);
readobj          1845 ext/spl/spl_directory.c 			if (readobj == writeobj) {
readobj          1850 ext/spl/spl_directory.c 				zval_ptr_dtor(readobj);
readobj          1857 ext/spl/spl_directory.c 			if (readobj == writeobj) {
readobj          1862 ext/spl/spl_directory.c 				zval_ptr_dtor(readobj);
readobj          1873 ext/spl/spl_directory.c 	if (readobj == writeobj) {
readobj          1874 ext/spl/spl_directory.c 		zval_ptr_dtor(readobj);