3v4l.org

run code in 300+ PHP versions simultaneously
<?php $client = new SoapClient("http://clublinq.com/marylandlive/clublinq.svc?singleWSDL",array( "trace"=>1, "exceptions"=>0) ); $req->KeyID = "1B3BFE04-78AF-4B84-967E-C32BA0B30FB0"; $req->PlayerID="2588"; $parameters->request = $req; $obj = $client->GetCustomerInfo(array('request'=>(array('KeyID'=>"1B3BFE04-78AF-4B84-967E-C32BA0B30FB0",'PlayerID'=>'2588')))); $xml = $client->__getLastResponse(); //$xml = simplexml_load_string($client->__getLastRequest()); //$xml = new SimplexmlElement($client->__getLastResponse(), TRUE); $json= json_encode($client->__getLastResponse()); print "<pre>\n"; print "<br />\n Request : ".htmlspecialchars($client->__getLastRequest()); print "<br />\n Response: ".htmlspecialchars($client->__getLastResponse()); print "<br />\n xml: ".$xml; print "<br />\n JSON: ".$json; print "</pre>"; $array = json_decode(json_encode((array)simplexml_load_string($xml)),1); var_dump($array) ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "SoapClient" not found in /in/tm02o:2 Stack trace: #0 {main} thrown in /in/tm02o on line 2
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
54.92 ms | 401 KiB | 8 Q