Doc #75472 [NEW]: SoapClient classmap: how are objects serialized?
| From: | a dot ross at amdev dot eu | Date: | Wed, 01 Nov 2017 09:44:34 +0000 |
| Subject: | Doc #75472 [NEW]: SoapClient classmap: how are objects serialized? | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-15206@lists.php.net to get a copy of this message | ||
From: a dot ross at amdev dot eu
Operating system:
PHP version: 7.1.11
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:SoapClient classmap: how are objects serialized?
Description:
------------
---
From manual page: http://www.php.net/soapclient.soapclient
---
I found out by testing that PHP accesses properties (regardless of
visibility (reflection?)) that match the name of attributes or child
elements in the ComplexType definition. In the case of simplecontent, it
uses the $_ property for the element content.
If a property with that name does not exist, it asks the object, so
__get will be called if it exists.
The problem is that I can't find any of this in the documentation, and I
don't know to what extent I can expect this to stay compatible in the
future.
--
Edit bug report at https://bugs.php.net/bug.php?id=75472&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75472&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75472&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75472&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75472&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75472&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75472&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75472&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75472&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75472&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75472&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75472&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75472&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75472&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75472&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75472&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75472&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75472&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75472&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75472&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75472&r=mysqlcfg