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"; else echo "\n\t\tnone"; ?> 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/pa8fr
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   25     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 = 30
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 = 42) Position 1 = 31
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pa8fr
function name:  on_shutdown
number of ops:  42
compiled vars:  !0 = $file, !1 = $line, !2 = $v, !3 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     '%3C%21--%0A%09Headers+Sent%3A+'
    8     1        ASSIGN                                           ~4      !1, null
          2        ASSIGN                                                   !0, ~4
    9     3        INIT_FCALL                                               'headers_sent'
          4        SEND_REF                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
   10     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
   11    12        ECHO                                                     '+%0A%09Last+Error%3A+'
   13    13        ECHO                                                     '%0A%09%09'
   14    14        INIT_FCALL                                               'error_get_last'
         15        DO_ICALL                                         $10     
         16      > JMPZ                                                     $10, ->30
   15    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
   16    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
   15    27      > JMP                                                      ->20
         28    >   FE_FREE                                                  $12
         29      > JMP                                                      ->31
   17    30    >   ECHO                                                     '%0A%09%09none'
   18    31    >   ECHO                                                     '+%0A%09Included+Files%3A+'
   20    32        ECHO                                                     '%0A%09%09'
   21    33        INIT_FCALL                                               'implode'
         34        SEND_VAL                                                 '%0A%09%09'
         35        INIT_FCALL                                               'get_included_files'
         36        DO_ICALL                                         $18     
         37        SEND_VAR                                                 $18
         38        DO_ICALL                                         $19     
         39        ECHO                                                     $19
   22    40        ECHO                                                     '+%0A--%3E'
   24    41      > RETURN                                                   null

End of function on_shutdown

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.45 ms | 1400 KiB | 23 Q