3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datexURL = "https://datex.trafikverket.se/D2ClientPull/SituationPullServerBA/2_3/Accident?wsdl"; $username = "datex"; $password = "datex2009"; $soapOptions = array('login' => $username, 'password' => $password, 'exceptions' => "true", 'trace' => "true", 'compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_DEFLATE | 5 ); $client = new SoapClient($datexURL, $soapOptions); $result = $client->getDatex2Data(); print_r($result); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Bqu1L
function name:  (null)
number of ops:  25
compiled vars:  !0 = $datexURL, !1 = $username, !2 = $password, !3 = $soapOptions, !4 = $client, !5 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fdatex.trafikverket.se%2FD2ClientPull%2FSituationPullServerBA%2F2_3%2FAccident%3Fwsdl'
    3     1        ASSIGN                                                   !1, 'datex'
    4     2        ASSIGN                                                   !2, 'datex2009'
    5     3        INIT_ARRAY                                       ~9      !1, 'login'
    6     4        ADD_ARRAY_ELEMENT                                ~9      !2, 'password'
    7     5        ADD_ARRAY_ELEMENT                                ~9      'true', 'exceptions'
    8     6        ADD_ARRAY_ELEMENT                                ~9      'true', 'trace'
    9     7        FETCH_CONSTANT                                   ~10     'SOAP_COMPRESSION_ACCEPT'
          8        FETCH_CONSTANT                                   ~11     'SOAP_COMPRESSION_DEFLATE'
          9        BW_OR                                            ~12     ~10, ~11
         10        BW_OR                                            ~13     ~12, 5
         11        ADD_ARRAY_ELEMENT                                ~9      ~13, 'compression'
    5    12        ASSIGN                                                   !3, ~9
   11    13        NEW                                              $15     'SoapClient'
         14        SEND_VAR_EX                                              !0
         15        SEND_VAR_EX                                              !3
         16        DO_FCALL                                      0          
         17        ASSIGN                                                   !4, $15
   13    18        INIT_METHOD_CALL                                         !4, 'getDatex2Data'
         19        DO_FCALL                                      0  $18     
         20        ASSIGN                                                   !5, $18
   15    21        INIT_FCALL                                               'print_r'
         22        SEND_VAR                                                 !5
         23        DO_ICALL                                                 
   17    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.46 ms | 1395 KiB | 15 Q