3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "start\n"; try { $test = new SoapClient ('http://apiservices.thomasinternational.net/APIServices.svc?wsdl'); } catch (Exception $e) { echo "Caught exception\n"; } echo "end\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
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/t8Fa9
function name:  (null)
number of ops:  10
compiled vars:  !0 = $test, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'start%0A'
    6     1        NEW                                              $2      'SoapClient'
          2        SEND_VAL_EX                                              'http%3A%2F%2Fapiservices.thomasinternational.net%2FAPIServices.svc%3Fwsdl'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $2
          5      > JMP                                                      ->8
    7     6  E > > CATCH                                       last         'Exception'
    8     7    >   ECHO                                                     'Caught+exception%0A'
   11     8    >   ECHO                                                     'end%0A'
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.27 ms | 1393 KiB | 13 Q