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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sWUAY
function name:  (null)
number of ops:  8
compiled vars:  !0 = $client, !1 = $languages
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'soapclientimpl', 'soapclient'
   17     1        NEW                                              $2      'SoapClientImpl'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
   20     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Class SoapClientImpl:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 6
Branch analysis from position: 6
2 jumps found. (Code = 107) Position 1 = 7, Position 2 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sWUAY
function name:  __construct
number of ops:  11
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_STATIC_METHOD_CALL                                  
          1        CHECK_FUNC_ARG                                           
          2        FETCH_STATIC_PROP_FUNC_ARG   unknown             $1      'WSDL'
          3        SEND_FUNC_ARG                                            $1
          4        DO_FCALL                                      0          
          5      > JMP                                                      ->10
   10     6  E > > CATCH                                       last         'Exception'
   11     7    >   INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
   13    10    > > RETURN                                                   null

End of function __construct

End of class SoapClientImpl.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.85 ms | 1387 KiB | 15 Q