Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.
Literal arrays are omitted.
File | Count | Expression |
---|---|---|
/src/Client.php:734 | 1 | $op = 'POST ' . $uri . " HTTP/1.0\r\n" . 'User-Agent: ' . $this->user_agent . "\r\n" . 'Host: ' . $server . $port . "\r\n" . $credentials . $proxyCredentials . $acceptedEncoding . $encodingHdr . 'Accept-Charset: ' . implode(',', $this->accepted_charset_encodings) . "\r\n" . $cookieHeader . 'Content-Type: ' . $req->content_type . "\r\nContent-Length: " . strlen($payload) . "\r\n\r\n" . $payload |
/src/Client.php:521 | 1 | $r = $this->sendPayloadSocket($req, $this->server, $this->port, $timeout, $this->username, $this->password, $this->authtype, $this->cert, $this->certpass, $this->cacert, $this->cacertdir, $this->proxy, $this->proxyport, $this->proxy_user, $this->proxy_pass, $this->proxy_authtype, $method, $this->key, $this->keypass, $this->sslversion) |
/src/Client.php:495 | 1 | $r = $this->sendPayloadCURL($req, $this->server, $this->port, $timeout, $this->username, $this->password, $this->authtype, $this->cert, $this->certpass, $this->cacert, $this->cacertdir, $this->proxy, $this->proxyport, $this->proxy_user, $this->proxy_pass, $this->proxy_authtype, $method == 'http11' ? 'http' : $method, $this->keepalive, $this->key, $this->keypass, $this->sslversion) |
/demo/server/server.php:746 | 1 | $signatures = array("examples.getStateName" => array("function" => "findState", "signature" => $findstate_sig, "docstring" => $findstate_doc, ), "examples.sortByAge" => array("function" => "ageSorter", "signature" => $agesorter_sig, "docstring" => $agesorter_doc, ), "examples.addtwo" => array("function" => "addTwo", "signature" => $addtwo_sig, "docstring" => $addtwo_doc, ), "examples.addtwodouble" => array("function" => "addTwoDouble", "signature" => $addtwodouble_sig, "docstring" => $addtwodouble_doc, ), "examples.stringecho" => array("function" => "stringEcho", "signature" => $stringecho_sig, "docstring" => $stringecho_doc, ), "examples.echo" => array("function" => "echoBack", "signature" => $echoback_sig, "docstring" => $echoback_doc, ), "examples.decode64" => array("function" => "echoSixtyFour", "signature" => $echosixtyfour_sig, "docstring" => $echosixtyfour_doc, ), "examples.invertBooleans" => array("function" => "bitFlipper", "signature" => $bitflipper_sig, "docstring" => $bitflipper_doc, ), "tests.generatePHPWarning" => array("function" => array($object, "phpWarningGenerator"), ), "tests.raiseException" => array("function" => array($object, "exceptionGenerator"), ), "tests.utf8methodname." . 'κόσμε' => array("function" => "stringEcho", "signature" => $stringecho_sig, "docstring" => $stringecho_doc, ), "examples.getallheaders" => array("function" => 'getAllHeaders_xmlrpc', "signature" => $getallheaders_sig, "docstring" => $getallheaders_doc, ), "examples.setcookies" => array("function" => 'setCookies', "signature" => $setcookies_sig, "docstring" => $setcookies_doc, ), "examples.getcookies" => array("function" => 'getCookies', "signature" => $getcookies_sig, "docstring" => $getcookies_doc, ), "mail.send" => array("function" => "mailSend", "signature" => $mailsend_sig, "docstring" => $mailsend_doc, ), "validator1.arrayOfStructsTest" => array("function" => "v1_arrayOfStructs", "signature" => $v1_arrayOfStructs_sig, "docstring" => $v1_arrayOfStructs_doc, ), "validator1.easyStructTest" => array("function" => "v1_easyStruct", "signature" => $v1_easyStruct_sig, "docstring" => $v1_easyStruct_doc, ), "validator1.echoStructTest" => array("function" => "v1_echoStruct", "signature" => $v1_echoStruct_sig, "docstring" => $v1_echoStruct_doc, ), "validator1.manyTypesTest" => array("function" => "v1_manyTypes", "signature" => $v1_manyTypes_sig, "docstring" => $v1_manyTypes_doc, ), "validator1.moderateSizeArrayCheck" => array("function" => "v1_moderateSizeArrayCheck", "signature" => $v1_moderateSizeArrayCheck_sig, "docstring" => $v1_moderateSizeArrayCheck_doc, ), "validator1.simpleStructReturnTest" => array("function" => "v1_simpleStructReturn", "signature" => $v1_simpleStructReturn_sig, "docstring" => $v1_simpleStructReturn_doc, ), "validator1.nestedStructTest" => array("function" => "v1_nestedStruct", "signature" => $v1_nestedStruct_sig, "docstring" => $v1_nestedStruct_doc, ), "validator1.countTheEntities" => array("function" => "v1_countTheEntities", "signature" => $v1_countTheEntities_sig, "docstring" => $v1_countTheEntities_doc, ), "interopEchoTests.echoString" => array("function" => "i_echoString", "signature" => $i_echoString_sig, "docstring" => $i_echoString_doc, ), "interopEchoTests.echoStringArray" => array("function" => "i_echoStringArray", "signature" => $i_echoStringArray_sig, "docstring" => $i_echoStringArray_doc, ), "interopEchoTests.echoInteger" => array("function" => "i_echoInteger", "signature" => $i_echoInteger_sig, "docstring" => $i_echoInteger_doc, ), "interopEchoTests.echoIntegerArray" => array("function" => "i_echoIntegerArray", "signature" => $i_echoIntegerArray_sig, "docstring" => $i_echoIntegerArray_doc, ), "interopEchoTests.echoFloat" => array("function" => "i_echoFloat", "signature" => $i_echoFloat_sig, "docstring" => $i_echoFloat_doc, ), "interopEchoTests.echoFloatArray" => array("function" => "i_echoFloatArray", "signature" => $i_echoFloatArray_sig, "docstring" => $i_echoFloatArray_doc, ), "interopEchoTests.echoStruct" => array("function" => "i_echoStruct", "signature" => $i_echoStruct_sig, "docstring" => $i_echoStruct_doc, ), "interopEchoTests.echoStructArray" => array("function" => "i_echoStructArray", "signature" => $i_echoStructArray_sig, "docstring" => $i_echoStructArray_doc, ), "interopEchoTests.echoValue" => array("function" => "i_echoValue", "signature" => $i_echoValue_sig, "docstring" => $i_echoValue_doc, ), "interopEchoTests.echoBase64" => array("function" => "i_echoBase64", "signature" => $i_echoBase64_sig, "docstring" => $i_echoBase64_doc, ), "interopEchoTests.echoDate" => array("function" => "i_echoDate", "signature" => $i_echoDate_sig, "docstring" => $i_echoDate_doc, ), "interopEchoTests.whichToolkit" => array("function" => "i_whichToolkit", "signature" => $i_whichToolkit_sig, "docstring" => $i_whichToolkit_doc, ), 'tests.getStateName.2' => $findstate2_sig, 'tests.getStateName.3' => $findstate3_sig, 'tests.getStateName.4' => $findstate4_sig, 'tests.getStateName.5' => $findstate5_sig, 'tests.getStateName.6' => $findstate6_sig, 'tests.getStateName.7' => $findstate7_sig, 'tests.getStateName.8' => $findstate8_sig, 'tests.getStateName.9' => $findstate9_sig, 'tests.getStateName.10' => $findstate10_sig, 'tests.getStateName.11' => $findstate11_sig, 'tests.getStateName.12' => array("function" => "findStateWithNulls", "signature" => $findstate12_sig, "docstring" => $findstate_doc, ), 'tests.returnPhpObject' => $returnObj_sig, ) |
/demo/server/server.php:367 | 1 | $mailsend_sig = array(array(Value::$xmlrpcBoolean, Value::$xmlrpcString, Value::$xmlrpcString, Value::$xmlrpcString, Value::$xmlrpcString, Value::$xmlrpcString, Value::$xmlrpcString, Value::$xmlrpcString, )) |
/demo/vardemo.php:28 | 1 | $v = new PhpXmlRpc\Value(array("thearray" => new PhpXmlRpc\Value(array(new PhpXmlRpc\Value("ABCDEFHIJ"), new PhpXmlRpc\Value(1234, 'int'), new PhpXmlRpc\Value(1, 'boolean'), new PhpXmlRpc\Value(0, 'boolean'), new PhpXmlRpc\Value(true, 'boolean'), new PhpXmlRpc\Value(false, 'boolean'), ), "array"), "theint" => new PhpXmlRpc\Value(23, 'int'), "thestring" => new PhpXmlRpc\Value("foobarwhizz"), "thestruct" => new PhpXmlRpc\Value(array("one" => new PhpXmlRpc\Value(1, 'int'), "two" => new PhpXmlRpc\Value(2, 'int'), ), "struct"), ), "struct") |
/demo/client/mail.php:22 | 1 | $req = new PhpXmlRpc\Request('mail.send', array(new PhpXmlRpc\Value($_POST["mailto"]), new PhpXmlRpc\Value($_POST["mailsub"]), new PhpXmlRpc\Value($_POST["mailmsg"]), new PhpXmlRpc\Value($_POST["mailfrom"]), new PhpXmlRpc\Value($_POST["mailcc"]), new PhpXmlRpc\Value($_POST["mailbcc"]), new PhpXmlRpc\Value("text/plain"))) |
/lib/xmlrpc_wrappers.inc:175 | 3 | if($pType == 'i4' || $pType == 'i8' || $pType == 'int' || $pType == 'boolean' || $pType == 'double' || $pType == 'string' || $pType == 'dateTime.iso8601' || $pType == 'base64' || $pType == 'null') { /**/ } else { /**/ } |
/src/Client.php:170 | 1 | if(function_exists('gzinflate') || (function_exists('curl_init') && (($info = curl_version( )) && ((is_string($info) && strpos($info, 'zlib') !== null) || isset($info['libz_version']))))) { /**/ } |
/src/Wrapper.php:936 | 3 | if($pType == 'i4' || $pType == 'i8' || $pType == 'int' || $pType == 'boolean' || $pType == 'double' || $pType == 'string' || $pType == 'dateTime.iso8601' || $pType == 'base64' || $pType == 'null') { /**/ } else { /**/ } |
/src/Helper/XMLParser.php:176 | 1 | if(($name == 'METHODCALL' && ($accept & self::ACCEPT_REQUEST)) || ($name == 'METHODRESPONSE' && ($accept & self::ACCEPT_RESPONSE)) || ($name == 'VALUE' && ($accept & self::ACCEPT_VALUE))) { /**/ } else { /**/ } |
/src/Wrapper.php:618 | 1 | if(($func->isStatic( ) && ($methodType == 'all' || $methodType == 'static' || ($methodType == 'auto' && is_string($className)))) || (!$func->isStatic( ) && ($methodType == 'all' || $methodType == 'nonstatic' || ($methodType == 'auto' && is_object($className))))) { /**/ } |
/src/Wrapper.php:847 | 3 | if($pType == 'i4' || $pType == 'i8' || $pType == 'int' || $pType == 'boolean' || $pType == 'double' || $pType == 'string' || $pType == 'dateTime.iso8601' || $pType == 'base64' || $pType == 'null') { /**/ } else { /**/ } |
/src/Server.php:527 | 1 | if($this->functions_parameters_type != 'xmlrpcvals' || (isset($this->dmap[$xmlRpcParser->_xh['method']]['parameters_type']) && ($this->dmap[$xmlRpcParser->_xh['method']]['parameters_type'] == 'phpvals'))) { /**/ } else { /**/ } |
/src/Wrapper.php:617 | 1 | if(!$func->isPrivate( ) && !$func->isProtected( ) && !$func->isConstructor( ) && !$func->isDestructor( ) && !$func->isAbstract( )) { /**/ } |