3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SoapClientImpl extends SoapClient { private static $WSDL = "http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl"; public function __construct() { try { parent::__construct(self::$WSDL); } catch(Exception $e) { var_dump($e); } } } $client = new SoapClientImpl(); //$languages = $client->getLanguages('Achrome', 'webinstitute'); var_dump($languages);

preferences:
44.7 ms | 402 KiB | 5 Q