3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $options = [ 'exceptions' => true, ]; $client = new \SoapClient('http://ws.cdyne.com/ip2geo/ip2geo.asmx?wsdl'); } catch (\Exception $e) { echo $e->getMessage(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
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/cZfoV
function name:  (null)
number of ops:  11
compiled vars:  !0 = $options, !1 = $client, !2 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    7     1        NEW                                              $4      'SoapClient'
          2        SEND_VAL_EX                                              'http%3A%2F%2Fws.cdyne.com%2Fip2geo%2Fip2geo.asmx%3Fwsdl'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $4
          5      > JMP                                                      ->10
    8     6  E > > CATCH                                       last         'Exception'
    9     7    >   INIT_METHOD_CALL                                         !2, 'getMessage'
          8        DO_FCALL                                      0  $7      
          9        ECHO                                                     $7
   10    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.65 ms | 1393 KiB | 13 Q