Skip to content

Warning: Argument #1 is not an array in /php-wsdl-2.3/class.phpwsdlclient.php  #25

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Default installation
2. Run /php-wsdl-2.3/demo6.php?name=you
3. Shows 2 warnings, and result from call

What is the expected output? What do you see instead?
- output without warnings
- ( ! ) Warning: array_merge() [function.array-merge]: Argument #1 is not an 
array in /php-wsdl-2.3/class.phpwsdlclient.php on line 233
Call Stack
#   Time    Memory  Function    Location
1   0.0000  50248   {main}( )   ../demo6.php:0
2   0.0015  210824  PhpWsdlClient->SayHello( )  ../demo6.php:17
[cut]

( ! ) Warning: array_merge() [function.array-merge]: Argument #1 is not an 
array in /php-wsdl-2.3/class.phpwsdlclient.php on line 234
Call Stack
#   Time    Memory  Function    Location
1   0.0000  50248   {main}( )   ../demo6.php:0
2   0.0015  210824  PhpWsdlClient->SayHello( )  ../demo6.php:17
[cut]

What version of the product are you using? On what operating system?
- 2.3 (no plugins)

Please provide any additional information below.
- can be fixed by changing default null:
 public function PhpWsdlClient($wsdlUri,$options=null,$requestHeaders=null,$clientOptions=Array()){
into Array():
 public function PhpWsdlClient($wsdlUri,$options=Array(),$requestHeaders=Array(),$clientOptions=Array()){

Original issue reported on code.google.com by jar...@gmail.com on 12 Jul 2013 at 8:55

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions