3v4l.org

run code in 300+ PHP versions simultaneously
<?php class HRDConfig { public $uid = "__uid_partnera__"; public $pass = "__zakodowane_nrCSP_i_haslo partnera__"; // np. "csp123haslo" const NS = "https://www.hrd.pl/partnerAPI/"; const PARTNER = "https://www.hrd.pl/partnerAPI/Partner.php?wsdl"; const DOMAIN = "https://www.hrd.pl/partnerAPI/Domain.php?wsdl"; const CERTIFICATE = "https://www.hrd.pl/partnerAPI/Certificate.php?wsdl"; const CLIENT = "https://www.hrd.pl/partnerAPI/Client.php?wsdl"; const POLL = "https://www.hrd.pl/partnerAPI/Poll.php?wsdl"; const INVOICE = "https://www.hrd.pl/partnerAPI/Invoice.php?wsdl"; } ini_set("soap.wsdl_cache_enabled", "1"); //Włączenie pamięci cache dla plików wsdl $soap = new SoapClient(HRDConfig::DOMAIN, array("encoding"=>"UTF-8", "exceptions" => true)); $soap->__setSoapHeaders(array(new SoapHeader(HRDConfig::NS, "AuthHeader", new HRDConfig()))); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X8uRE
function name:  (null)
number of ops:  21
compiled vars:  !0 = $soap
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'soap.wsdl_cache_enabled'
          2        SEND_VAL                                                 '1'
          3        DO_ICALL                                                 
   16     4        NEW                                              $2      'SoapClient'
          5        SEND_VAL_EX                                              'https%3A%2F%2Fwww.hrd.pl%2FpartnerAPI%2FDomain.php%3Fwsdl'
          6        SEND_VAL_EX                                              <array>
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !0, $2
   17     9        INIT_METHOD_CALL                                         !0, '__setSoapHeaders'
         10        NEW                                              $5      'SoapHeader'
         11        SEND_VAL_EX                                              'https%3A%2F%2Fwww.hrd.pl%2FpartnerAPI%2F'
         12        SEND_VAL_EX                                              'AuthHeader'
         13        NEW                                              $6      'HRDConfig'
         14        DO_FCALL                                      0          
         15        SEND_VAR_NO_REF_EX                                       $6
         16        DO_FCALL                                      0          
         17        INIT_ARRAY                                       ~9      $5
         18        SEND_VAL_EX                                              ~9
         19        DO_FCALL                                      0          
   18    20      > RETURN                                                   1

Class HRDConfig: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.23 ms | 1386 KiB | 15 Q