3v4l.org

run code in 300+ PHP versions simultaneously
<?php function aaaa(array $a) { throw new \Exception(" typo3 file not found exception"); } try{ aaaa([]); } catch (\Exception $e) { $return = ''; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
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 = 62) Position 1 = -2
filename:       /in/M9u7N
function name:  (null)
number of ops:  7
compiled vars:  !0 = $e, !1 = $return
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'aaaa'
          1        SEND_VAL                                                 <array>
          2        DO_FCALL                                      0          
          3      > JMP                                                      ->6
    7     4  E > > CATCH                                       last         'Exception'
    8     5    >   ASSIGN                                                   !1, ''
    9     6    > > RETURN                                                   1

Function aaaa:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/M9u7N
function name:  aaaa
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        NEW                                              $1      'Exception'
          2        SEND_VAL_EX                                              '+typo3+file+not+found+exception'
          3        DO_FCALL                                      0          
          4      > THROW                                         0          $1
    4     5*     > RETURN                                                   null

End of function aaaa

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.89 ms | 1397 KiB | 14 Q