3v4l.org

run code in 300+ PHP versions simultaneously
<?php global $test; try { $test->ping(); } catch (Exception $e) { throw new Exception('Service database connection unsuccessful.'); } ?>
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: 4
Branch analysis from position: 4
2 jumps found. (Code = 107) Position 1 = 5, Position 2 = -2
Branch analysis from position: 5
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/G0Li1
function name:  (null)
number of ops:  10
compiled vars:  !0 = $test, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   BIND_GLOBAL                                              !0, 'test'
    5     1        INIT_METHOD_CALL                                         !0, 'ping'
          2        DO_FCALL                                      0          
          3      > JMP                                                      ->9
    6     4  E > > CATCH                                       last         'Exception'
    7     5    >   NEW                                              $3      'Exception'
          6        SEND_VAL_EX                                              'Service+database+connection+unsuccessful.'
          7        DO_FCALL                                      0          
          8      > THROW                                         0          $3
    9     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.73 ms | 1393 KiB | 13 Q