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/rP30U
function name:  (null)
number of ops:  22
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        BW_OR                                            ~10     'SOAP_COMPRESSION_EGGMQTE', 5
          8        ADD_ARRAY_ELEMENT                                ~9      ~10, 'compression'
    5     9        ASSIGN                                                   !3, ~9
   11    10        NEW                                              $12     'SoapClient'
         11        SEND_VAR_EX                                              !0
         12        SEND_VAR_EX                                              !3
         13        DO_FCALL                                      0          
         14        ASSIGN                                                   !4, $12
   13    15        INIT_METHOD_CALL                                         !4, 'getDatex2Data'
         16        DO_FCALL                                      0  $15     
         17        ASSIGN                                                   !5, $15
   15    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !5
         20        DO_ICALL                                                 
   17    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.46 ms | 1395 KiB | 15 Q