3v4l.org

run code in 300+ PHP versions simultaneously
<?php function gestor_excepciones($excepción) { echo "Excepción no capturada: " , $excepción->getMessage(), "\n"; } set_exception_handler('gestor_excepciones'); throw new Exception('Excepción No Capturada'); echo "No Ejecutado\n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/2lZrD
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'set_exception_handler'
          1        SEND_VAL                                                 'gestor_excepciones'
          2        DO_ICALL                                                 
    8     3        NEW                                              $1      'Exception'
          4        SEND_VAL_EX                                              'Excepci%C3%B3n+No+Capturada'
          5        DO_FCALL                                      0          
          6      > THROW                                         0          $1
    9     7*       ECHO                                                     'No+Ejecutado%0A'
   10     8*     > RETURN                                                   1

Function gestor_excepciones:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2lZrD
function name:  gestor_excepciones
number of ops:  7
compiled vars:  !0 = $excepción
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        ECHO                                                     'Excepci%C3%B3n+no+capturada%3A+'
          2        INIT_METHOD_CALL                                         !0, 'getMessage'
          3        DO_FCALL                                      0  $1      
          4        ECHO                                                     $1
          5        ECHO                                                     '%0A'
    4     6      > RETURN                                                   null

End of function gestor_excepciones

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.55 ms | 1386 KiB | 15 Q