3v4l.org

run code in 300+ PHP versions simultaneously
<?php use strict; function error_handler ( $errno ) { $trace=debug_backtrace(); var_dump($errno); var_dump( $trace); $error = error_get_last(); $output = ""; foreach ($error as $info => $string) $output .= "{$info}: {$string}\n"; return $output; } ob_start('error_handler'); will_this_undefined_function_raise_an_error();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9v3fh
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   INIT_FCALL                                               'ob_start'
          1        SEND_VAL                                                 'error_handler'
          2        DO_ICALL                                                 
   23     3        INIT_FCALL_BY_NAME                                       'will_this_undefined_function_raise_an_error'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function error_handler:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 23
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 23
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
filename:       /in/9v3fh
function name:  error_handler
number of ops:  26
compiled vars:  !0 = $errno, !1 = $trace, !2 = $error, !3 = $output, !4 = $string, !5 = $info
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
   11     1        INIT_FCALL                                               'debug_backtrace'
          2        DO_ICALL                                         $6      
          3        ASSIGN                                                   !1, $6
   12     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
   13     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
   14    10        INIT_FCALL                                               'error_get_last'
         11        DO_ICALL                                         $10     
         12        ASSIGN                                                   !2, $10
   15    13        ASSIGN                                                   !3, ''
   16    14      > FE_RESET_R                                       $13     !2, ->23
         15    > > FE_FETCH_R                                       ~14     $13, !4, ->23
         16    >   ASSIGN                                                   !5, ~14
   17    17        ROPE_INIT                                     4  ~17     !5
         18        ROPE_ADD                                      1  ~17     ~17, '%3A+'
         19        ROPE_ADD                                      2  ~17     ~17, !4
         20        ROPE_END                                      3  ~16     ~17, '%0A'
         21        ASSIGN_OP                                     8          !3, ~16
   16    22      > JMP                                                      ->15
         23    >   FE_FREE                                                  $13
   18    24      > RETURN                                                   !3
   19    25*     > RETURN                                                   null

End of function error_handler

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.46 ms | 1396 KiB | 21 Q