Bug #71711 [NEW]: Soap Server Member variables reference bug

From: Date: Fri, 04 Mar 2016 09:23:19 +0000
Subject: Bug #71711 [NEW]: Soap Server Member variables reference bug
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199589@lists.php.net to get a copy of this message
From: info at sebastianviereck dot de Operating system: Ubuntu 14.4 PHP version: 7.0.4 Package: SOAP related Bug Type: Bug Bug description:Soap Server Member variables reference bug Description: ------------ The Soap Server handling responses with references in class member variables and crashes with an Exception. Test script: --------------- http://www.sebastianviereck.de/en/php7-soap-server-bug-ticket/ Expected result: ---------------- if you execute the soap client, you get an error: Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] SOAP-ERROR: Encoding: Cannot find encoding in client.php on line 24 ( ! ) SoapFault: SOAP-ERROR: Encoding: Cannot find encoding in client.php on line 24 Actual result: -------------- Result in PHP5.3 is stdClass Object ( [posts] => Array ( [0] => Array ( [title] => Demo Post 1 [body] => Demo content 1 ) [1] => Array ( [title] => Demo Post 2 [body] => Demo content 2 ) [2] => Array ( [title] => Demo Post 3 [body] => Demo content 3 ) [3] => Array ( [title] => Demo Post 4 [body] => Demo content 4 ) ) ) -- Edit bug report at https://bugs.php.net/bug.php?id=71711&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71711&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71711&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71711&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=71711&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=71711&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=71711&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=71711&r=needscript Try newer version: https://bugs.php.net/fix.php?id=71711&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=71711&r=support Expected behavior: https://bugs.php.net/fix.php?id=71711&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=71711&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=71711&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=71711&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71711&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=71711&r=dst IIS Stability: https://bugs.php.net/fix.php?id=71711&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=71711&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=71711&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=71711&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=71711&r=mysqlcfg

« previous php.bugs (#199589) next »