From: bigdan at gmail dot com Operating system: linux PHP version: 5.3.1 PHP Bug Type: Streams related Bug description: XX is not a valid Stream-Context resource while using Soap with local_cert
Description: ------------ This bug is strangley similar to #46427, but not exactly the same. This bug _only_ manifests when using php 5.3/5.3.1 and php snapshots. In order to reproduce this bug, local_cert (and passphrase - unfortunately, I cannot test without the passphrase) need to specified in the SoapClient parameters. Any calls to this constructed client fail with: E_WARNING: SoapClient::__doRequest(): XX is not a valid Stream-Context resource in ... where XX is the resource number, which is missing a #. Using php 5.2.4-2ubuntu5.6, this exact same script works perfectly. This problem manifests regardless of whether the soap client is encapsulated in a function or procedural. Expected result: ---------------- The SoapClient method executing successfully. Actual result: -------------- E_WARNING: SoapClient::__doRequest(): 179 is not a valid Stream-Context resource in ... -- Edit bug report at http://bugs.php.net/?id=51129&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51129&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51129&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51129&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51129&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51129&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51129&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51129&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51129&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51129&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51129&r=support Expected behavior: http://bugs.php.net/fix.php?id=51129&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51129&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51129&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51129&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51129&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51129&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51129&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51129&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51129&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51129&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51129&r=mysqlcfg
