Re: [PHP-DEV] [PATCH] - Standardize argument parsing of objects

2005-11-16 Thread Jessie Hernandez
> > > > > -Original Message- > > From: Jessie Hernandez [mailto:[EMAIL PROTECTED] > > Sent: Friday, November 04, 2005 9:35 PM > > To: internals@lists.php.net > > Subject: RE: [PHP-DEV] [PATCH] - Standardize argument parsing of objects > > >

Re: [PHP-DEV] [PATCH] - Standardize argument parsing of objects

2005-11-05 Thread Wez Furlong
On 11/5/05, Bob Silva <[EMAIL PROTECTED]> wrote: > Any word on whether the core team is going to accept the namespace patch? It > will be beneficial to my development as well for obvious reasons. That's one of the things we'll be discussing in Paris next week. > I was just reading all the Unicode

RE: [PHP-DEV] [PATCH] - Standardize argument parsing of objects

2005-11-04 Thread Bob Silva
rom: Jessie Hernandez [mailto:[EMAIL PROTECTED] > Sent: Friday, November 04, 2005 9:35 PM > To: internals@lists.php.net > Subject: RE: [PHP-DEV] [PATCH] - Standardize argument parsing of objects > > Hi Bob, > > BTW, several months back I started working on a similar String clas

RE: [PHP-DEV] [PATCH] - Standardize argument parsing of objects

2005-11-04 Thread Jessie Hernandez
x27;m learning a lot. People that are looking for a > strongly typed PHP may find it useful once I complete the rest of the > object framework. Next up is Collections. Again, I really appreciate you > taking the time to reply to my questions and point me in the right > direction. >

RE: [PHP-DEV] [PATCH] - Standardize argument parsing of objects

2005-11-04 Thread Bob Silva
ple that are looking for a strongly typed PHP may find it useful once I complete the rest of the object framework. Next up is Collections. Again, I really appreciate you taking the time to reply to my questions and point me in the right direction. Bob > -Original Message----- > From: M

Re: [PHP-DEV] [PATCH] - Standardize argument parsing of objects

2005-11-04 Thread Marcus Boerger
Hello Bob, Friday, November 4, 2005, 11:19:23 AM, you wrote: > Hi Marcus, > OK, I got my learning cap on, why is it the wrong way to call cast_object? I > just copied it from the example for a string param and it worked so I am > curious why it is wrong. I agree the convert_to_* functions are a

RE: [PHP-DEV] [PATCH] - Standardize argument parsing of objects

2005-11-04 Thread Bob Silva
to turn it into a PECL extension. Why program if you can't have fun doing it? Bob > -Original Message- > From: Marcus Boerger [mailto:[EMAIL PROTECTED] > Sent: Friday, November 04, 2005 12:29 AM > To: Bob Silva > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] [

Re: [PHP-DEV] [PATCH] - Standardize argument parsing of objects

2005-11-04 Thread Marcus Boerger
Hello Bob, this is a) wrong in the way you call the cast handler and b) we will definitively not add this behavior before the next major release aka HEAD. However it would be better to call the conversion functions (zend_operators.h) here to have get handler used when no cast handler is available

[PHP-DEV] [PATCH] - Standardize argument parsing of objects

2005-11-04 Thread Bob Silva
Please take under consideration this patch to fully utilize cast_object handlers in the new parameter parsing API. The old parameter API forced the called function to validate and convert its arguments using the convert_to_* functions. The convert_to_* functions make use of cast_object handlers if