| @@ -1,5 +1,5 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | -require_once __DIR__ . "/_prepend.php"; | |
| 2 | +require_once __DIR__."/_prepend.php"; | |
| 3 | 3 | |
| 4 | 4 |  output('<html lang="en"> | 
| 5 | 5 | <head><title>phpxmlrpc - Which toolkit demo</title></head> | 
| @@ -19,7 +19,7 @@ discard block | ||
| 19 | 19 | <methodName>interopEchoTests.whichToolkit</methodName> | 
| 20 | 20 | <params/> | 
| 21 | 21 | </methodCall>'; | 
| 22 | -output("XML custom request:<br/><pre>" . htmlspecialchars($payload) . "</pre>\n"); | |
| 22 | +output("XML custom request:<br/><pre>".htmlspecialchars($payload)."</pre>\n"); | |
| 23 | 23 | |
| 24 | 24 | $client = new Client(XMLRPCSERVER); | 
| 25 | 25 | |
| @@ -40,7 +40,7 @@ discard block | ||
| 40 | 40 |  if (!$resp->faultCode()) { | 
| 41 | 41 | |
| 42 | 42 | $xml = $resp->value(); | 
| 43 | -    output("XML response:<br/><pre>" . htmlspecialchars($xml) . "</pre>\n"); | |
| 43 | +    output("XML response:<br/><pre>".htmlspecialchars($xml)."</pre>\n"); | |
| 44 | 44 | |
| 45 | 45 | $encoder = new Encoder(); | 
| 46 | 46 | // from xml to xml-rpc Response | 
| @@ -53,17 +53,17 @@ discard block | ||
| 53 | 53 | |
| 54 | 54 |          output("Toolkit info:<br/>\n"); | 
| 55 | 55 |          output("<pre>"); | 
| 56 | -        output("name: " . htmlspecialchars($value["toolkitName"]) . "\n"); | |
| 57 | -        output("version: " . htmlspecialchars($value["toolkitVersion"]) . "\n"); | |
| 58 | -        output("docs: " . htmlspecialchars($value["toolkitDocsUrl"]) . "\n"); | |
| 59 | -        output("os: " . htmlspecialchars($value["toolkitOperatingSystem"]) . "\n"); | |
| 56 | +        output("name: ".htmlspecialchars($value["toolkitName"])."\n"); | |
| 57 | +        output("version: ".htmlspecialchars($value["toolkitVersion"])."\n"); | |
| 58 | +        output("docs: ".htmlspecialchars($value["toolkitDocsUrl"])."\n"); | |
| 59 | +        output("os: ".htmlspecialchars($value["toolkitOperatingSystem"])."\n"); | |
| 60 | 60 |          output("</pre>"); | 
| 61 | 61 |      } else { | 
| 62 | 62 |          output("An xml-rpc error occurred"); | 
| 63 | 63 | } | 
| 64 | 64 |  } else { | 
| 65 | 65 |      output("An http error occurred: "); | 
| 66 | -    output("Code: " . htmlspecialchars($resp->faultCode()) . " Reason: '" . htmlspecialchars($resp->faultString()) . "'\n"); | |
| 66 | +    output("Code: ".htmlspecialchars($resp->faultCode())." Reason: '".htmlspecialchars($resp->faultString())."'\n"); | |
| 67 | 67 | } | 
| 68 | 68 | |
| 69 | 69 |  output("</body></html>\n"); |