3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domena = "szj.cz"; $client = new SoapClient( null, array( "location" => "https://soap.subreg.cz/cmd.php", "uri" => "http://soap.subreg.cz/soap" ) ); $params = array ( "data" => array ( "login" => "jmeno", "password" => "heslo", ) ); $response = $client->__call("Login",$params); $token = $response["data"]["ssid"]; unset($params); $params = array ( "data" => array ( "ssid" => $token, "domain" => $domena, ) ); $response = $client->__call("Check_Domain",$params); echo 'Doména '.$domena.' je '; if ($response["data"]["avail"] == 0) { echo '<span style="color:#FF0000">Obsazená</span>'; } else if($response["data"]["avail"] == 1) { echo '<span style="color:#00FF00">Volná</span>'; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "SoapClient" not found in /in/DfIFq:5 Stack trace: #0 {main} thrown in /in/DfIFq on line 5
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:
58.73 ms | 401 KiB | 8 Q