xref: /PHP-7.2/ext/soap/tests/bugs/bug41477.phpt (revision 0f6e099d)
1--TEST--
2Bug #41477 (no arginfo about SoapClient::__soapCall())
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7$objRfClass = new ReflectionClass('SoapClient');
8$objRfMethod = $objRfClass->getMethod('__soapCall');
9$arrParams = $objRfMethod->getParameters();
10foreach($arrParams as $objRfParam)
11{
12        var_dump($objRfParam->getName());
13}
14?>
15--EXPECT--
16string(13) "function_name"
17string(9) "arguments"
18string(7) "options"
19string(13) "input_headers"
20string(14) "output_headers"
21