Re: [PHP-DEV] bug ???

2005-12-13 Thread Wez Furlong
Even looking at the page you linked to, I have no idea what the problem actually is. You need to be a bit more specific if you want people to help you. One thing I notice is that you're using the old parameter fetching API, and not using it properly. If a non-string is passed to your functions,

[PHP-DEV] SOAP Question re: Class Mapping & Constructors

2005-12-13 Thread Matt Friedman
Hi, We are using the built-in SOAP extension. >From the docs: $server = new SoapClient("books.wsdl", array('classmap' => array('book' => "MyBook"))); Soap server will return a complex data type 'book'. The data fields for book will be mapped to the php class' data fields in MyBook. It seems tha

RE: [PHP-DEV] SOAP Question re: Class Mapping & Constructors

2005-12-13 Thread Dmitry Stogov
Hi Matt, During SOAP envelope deserialization, objects are created indirectly. So constructors are not called (constructor may need arguments). This is not a bug. Thanks. Dmitry. > -Original Message- > From: Matt Friedman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 13, 2005 9:4

Re: [PHP-DEV] SOAP Question re: Class Mapping & Constructors

2005-12-13 Thread Matt Friedman
Hi Dmitry, It is understandable that you don't know what the arguments might be. But I would rather have the constructor called with no arguments, or with just the std object `book` passed to the constructor instead of no constructor at all. Is it possible? Thanks, Matt. On 12/13/05, Dmitry S

Re: [PHP-DEV] SOAP Question re: Class Mapping & Constructors

2005-12-13 Thread Andrew Yochum
Hi Matt & Dmitry, Calling the magic __wakeup() func might be appropriate in this case, since SOAP envelope deserialization is a lot like regular deserialization. It is a lot less confusing than calling the constructor w/ no args and seems quite appropriate given the context. Andrew On Tue, Dec

Re: [PHP-DEV] SOAP Question re: Class Mapping & Constructors

2005-12-13 Thread Matt Friedman
That sounds very good. Many thanks for the assistance. Matt. On 12/13/05, Andrew Yochum <[EMAIL PROTECTED]> wrote: > Hi Matt & Dmitry, > > Calling the magic __wakeup() func might be appropriate in this case, > since SOAP envelope deserialization is a lot like regular > deserialization. It is a

[PHP-DEV] Re: 5.1.2 Reminder

2005-12-13 Thread Ants Aasma
Hi, Any chance of anyone looking at and commiting #35510 before the RC? It's a really low risk patch adding minor functionality to ext/gmp. -- Ants -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] SOAP Question re: Class Mapping & Constructors

2005-12-13 Thread Adam Maccabee Trachtenberg
I would like to second this suggestion. I have been playing with the classmap option and could use the ability to manipulate the object after instantiation but before it's returned to the user. -adam On Tue, 13 Dec 2005, Andrew Yochum wrote: > Hi Matt & Dmitry, > > Calling the magic __wakeup() f

RE: [PHP-DEV] SOAP Question re: Class Mapping & Constructors

2005-12-13 Thread Dmitry Stogov
Hi, > -Original Message- > From: Matt Friedman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 13, 2005 10:22 PM > To: Dmitry Stogov; internals@lists.php.net > Subject: Re: [PHP-DEV] SOAP Question re: Class Mapping & Constructors > > > Hi Dmitry, > > It is understandable that you d

RE: [PHP-DEV] SOAP Question re: Class Mapping & Constructors

2005-12-13 Thread Dmitry Stogov
I'll try implement sleep/wakeup support in the HEAD, then I'll have time. Thanks. Dmitry. > -Original Message- > From: Adam Maccabee Trachtenberg [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 14, 2005 4:23 AM > To: Andrew Yochum > Cc: Matt Friedman; Dmitry Stogov; internals@lists