3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set('display_errors', 1); $wsdl = 'https://webservices3.autotask.net/atservices/1.5/atws.wsdl'; $options = array( 'login' => $username, 'password' => $password, 'trace' => 1 ); $client = new SoapClient($wsdl, $options);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vWjMo
function name:  (null)
number of ops:  18
compiled vars:  !0 = $wsdl, !1 = $options, !2 = $username, !3 = $password, !4 = $client
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'display_errors'
          5        SEND_VAL                                                 1
          6        DO_ICALL                                                 
    5     7        ASSIGN                                                   !0, 'https%3A%2F%2Fwebservices3.autotask.net%2Fatservices%2F1.5%2Fatws.wsdl'
    8     8        INIT_ARRAY                                       ~8      !2, 'login'
    9     9        ADD_ARRAY_ELEMENT                                ~8      !3, 'password'
   10    10        ADD_ARRAY_ELEMENT                                ~8      1, 'trace'
    7    11        ASSIGN                                                   !1, ~8
   14    12        NEW                                              $10     'SoapClient'
         13        SEND_VAR_EX                                              !0
         14        SEND_VAR_EX                                              !1
         15        DO_FCALL                                      0          
         16        ASSIGN                                                   !4, $10
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.32 ms | 1394 KiB | 17 Q