3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("soap.wsdl_cache_enabled", "0"); ini_set('default_socket_timeout', 600); try { $soap_option = array('trace' => true, 'connection_timeout' => 120, 'exceptions' => true, 'cache_wsdl' => WSDL_CACHE_NONE); $requestParams = array('usuario' => 'reservasweb', 'pass' => 'Turis2015'); $client = new SoapClient('http://turismar.servidoresdelsur.uy:8081/PostDesa/ReservaServicio.svc?wsdl',$soap_option); $result = $client->DoLogin($requestParams); //, array('trace' => 1, 'soap_version' => SOAP_2_0, 'encoding'=> 'UTF-8') $sessionID = $result->DoLoginResult; //echo $sessionID; } catch (Exception $e) { var_dump($e); } header('Content-type: application/xml'); echo $client->__getLastResponse(); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Undefined constant "WSDL_CACHE_NONE" in /in/Rfpno:5 Stack trace: #0 {main} thrown in /in/Rfpno 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:
39.49 ms | 401 KiB | 8 Q