Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [patch]__string()method

2003-09-04 Thread Moriyoshi Koizumi
> > A default __toString() doesn't hinder an extension that interoperates with > > Java/COM or whatever external objects in anyway to handle their casting as > > they like. In fact the interface approach would deliver the ability to hide > > those internal differences so that the user can use the

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [patch]__string() method

2003-09-04 Thread Moriyoshi Koizumi
> >> It's just one of my trivial ideas, that why don't us make it capable of > >> arbitrary casting operation rather than limiting it just for string casts? Hmm, funny English.. I've got no idea why I wrote it this way. > > i agree here. this can be important for external integration e.g. Java an

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [patch] __string() method

2003-09-04 Thread Marcus Börger
Hello l0t3k, Thursday, September 4, 2003, 2:56:16 PM, you wrote: >> It's just one of my trivial ideas, that why don't us make it capable of >> arbitrary casting operation rather than limiting it just for string casts? > i agree here. this can be important for external integration e.g. Java and >