3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: text/html; charset=utf-8'); $host = "http://kubyk.inkodus.lt/index.php"; //our online shop url $client = new SoapClient($host."/api/soap/?wsdl"); //soap handle $apiuser= "android"; //webservice user login $apikey = "android_kubyk"; //webservice user pass $action = "customer.login"; //an action to call later (loading Sales Order List) try { // SOAP klientas loginasi i webservisa, gauna sesijos id $sess_id= $client->login($apiuser, $apikey); //we do login $params = array("email" => "testas2@testas2.COM", "password" => "adminas13"); // O va cia jau callinam ta customer.login metoda ir paduodam sesijos id + parametrus loginimuisi $rezultatas = $client->call($sess_id, $action, $params); } catch (Exception $e) { //while an error has occured echo "==> Error: ".$e->getMessage(); //we print this exit(); } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "SoapClient" not found in /in/H0sY1:4 Stack trace: #0 {main} thrown in /in/H0sY1 on line 4
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:
56.54 ms | 401 KiB | 8 Q