3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class SoapClientImpl extends SoapClient { private static final $WSDL = "http://ideone.com/api/1/service.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);
Output for 5.3.0 - 5.4.14
Fatal error: Cannot declare property SoapClientImpl::$WSDL final, the final modifier is allowed only for methods and classes in /in/KOZpF on line 5
Process exited with code 255.