3v4l.org

run code in 300+ PHP versions simultaneously
<?php function on_shutdown(){ ?><!-- Headers Sent: <?php $file = $line = null; headers_sent($file, $line); echo "\n\t\t$file: $line"; ?> Last Error: <?php echo "\n\t\t"; if(error_get_last()) foreach(error_get_last() as $k=>$v) echo "\n\t\t$k: $v"; ?> Included Files: <?php echo "\n\t\t"; echo implode("\n\t\t", get_included_files()); ?> --><?php } register_shutdown_function('on_shutdown');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oQfOi
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   INIT_FCALL                                               'register_shutdown_function'
          1        SEND_VAL                                                 'on_shutdown'
          2        DO_ICALL                                                 
          3      > RETURN                                                   1

Function on_shutdown:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 29
Branch analysis from position: 17
2 jumps found. (Code = 77) Position 1 = 20, Position 2 = 28
Branch analysis from position: 20
2 jumps found. (Code = 78) Position 1 = 21, Position 2 = 28
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
Branch analysis from position: 29
filename:       /in/oQfOi
function name:  on_shutdown
number of ops:  40
compiled vars:  !0 = $file, !1 = $line, !2 = $v, !3 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     '%3C%21--%0A%09Headers+Sent%3A+'
    5     1        ASSIGN                                           ~4      !1, null
          2        ASSIGN                                                   !0, ~4
    6     3        INIT_FCALL                                               'headers_sent'
          4        SEND_REF                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    7     7        ROPE_INIT                                     4  ~8      '%0A%09%09'
          8        ROPE_ADD                                      1  ~8      ~8, !0
          9        ROPE_ADD                                      2  ~8      ~8, '%3A+'
         10        ROPE_END                                      3  ~7      ~8, !1
         11        ECHO                                                     ~7
    9    12        ECHO                                                     '%09Last+Error%3A+'
   10    13        ECHO                                                     '%0A%09%09'
   11    14        INIT_FCALL                                               'error_get_last'
         15        DO_ICALL                                         $10     
         16      > JMPZ                                                     $10, ->29
   12    17    >   INIT_FCALL                                               'error_get_last'
         18        DO_ICALL                                         $11     
         19      > FE_RESET_R                                       $12     $11, ->28
         20    > > FE_FETCH_R                                       ~13     $12, !2, ->28
         21    >   ASSIGN                                                   !3, ~13
   13    22        ROPE_INIT                                     4  ~16     '%0A%09%09'
         23        ROPE_ADD                                      1  ~16     ~16, !3
         24        ROPE_ADD                                      2  ~16     ~16, '%3A+'
         25        ROPE_END                                      3  ~15     ~16, !2
         26        ECHO                                                     ~15
   12    27      > JMP                                                      ->20
         28    >   FE_FREE                                                  $12
   15    29    >   ECHO                                                     '%09Included+Files%3A+'
   16    30        ECHO                                                     '%0A%09%09'
   17    31        INIT_FCALL                                               'implode'
         32        SEND_VAL                                                 '%0A%09%09'
         33        INIT_FCALL                                               'get_included_files'
         34        DO_ICALL                                         $18     
         35        SEND_VAR                                                 $18
         36        DO_ICALL                                         $19     
         37        ECHO                                                     $19
   19    38        ECHO                                                     '--%3E'
   20    39      > RETURN                                                   null

End of function on_shutdown

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.34 ms | 1392 KiB | 23 Q