3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $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 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 5
Branch analysis from position: 5
2 jumps found. (Code = 107) Position 1 = 6, Position 2 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JfGXm
function name:  (null)
number of ops:  10
compiled vars:  !0 = $client, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $2      'SoapClient'
          1        SEND_VAL_EX                                              'http%3A%2F%2Fws.cdyne.com%2Fip2geo%2Fip2geo.asmx%3Fwsdl'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
          4      > JMP                                                      ->9
    5     5  E > > CATCH                                       last         'Exception'
    6     6    >   INIT_METHOD_CALL                                         !1, 'getMessage'
          7        DO_FCALL                                      0  $5      
          8        ECHO                                                     $5
    7     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.76 ms | 1384 KiB | 13 Q