Edit report at http://bugs.php.net/bug.php?id=45155&edit=1

 ID:                 45155
 Comment by:         kissifrot at gmail dot com
 Reported by:        david at globulebleu dot com
 Summary:            Constructors not called when using classmap option
                     in SoapClient
 Status:             Open
 Type:               Bug
 Package:            SOAP related
 Operating System:   *
 PHP Version:        5.2.6
 Block user comment: N
 Private report:     N

 New Comment:

Same problems happens with PHP 5.3.6 (dotdeb version) on Lenny.



This is quite annoying as we cannot later call the created object's
methods due to some logic done in the constructor (such as sanitizing
for instance) which is missing.


Previous Comments:
------------------------------------------------------------------------
[2010-05-04 18:10:39] philipp dot kempgen at amooma dot de

Same thing applies to SoapServer as well.

------------------------------------------------------------------------
[2010-05-04 18:03:36] philipp dot kempgen at amooma dot de

Bug still found in PHP 5.3.2.

------------------------------------------------------------------------
[2009-10-29 14:20:32] grzegorz dot drozd at esky dot pl

__wakeup is not called before deserialization from session (if you store
object in session of course). Only __set is called when setting
properties.

------------------------------------------------------------------------
[2009-07-28 13:53:51] b...@php.net

changed status because this bug still exists and is reproduced

------------------------------------------------------------------------
[2009-06-22 13:20:31] b...@php.net

Hi Jani,



i strumbled over this issue and have the same bug here.

tested with latest 5.2snap. Results in a not called constructor or other
magic function.



the __destructor will be called but this is too late for handling
special stuff here.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=45155


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=45155&edit=1

Reply via email to