3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Pdf extends ci_controller { function index(){ $this->load->helper(array('My_Pdf')); include("CONN.pdf"); header("Content-type: application/pdf"); header('Content-disposition: inline; filename="' . $fv->getFileName() . '"'); } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XYoJn
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'pdf', 'ci_controller'
   12     1      > RETURN                                                   1

Class Pdf:
Function index:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XYoJn
function name:  index
number of ops:  16
compiled vars:  !0 = $fv
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   FETCH_OBJ_R                                      ~1      'load'
          1        INIT_METHOD_CALL                                         ~1, 'helper'
          2        SEND_VAL_EX                                              <array>
          3        DO_FCALL                                      0          
    7     4        INCLUDE_OR_EVAL                                          'CONN.pdf', INCLUDE
    8     5        INIT_FCALL                                               'header'
          6        SEND_VAL                                                 'Content-type%3A+application%2Fpdf'
          7        DO_ICALL                                                 
    9     8        INIT_FCALL                                               'header'
          9        INIT_METHOD_CALL                                         !0, 'getFileName'
         10        DO_FCALL                                      0  $5      
         11        CONCAT                                           ~6      'Content-disposition%3A+inline%3B+filename%3D%22', $5
         12        CONCAT                                           ~7      ~6, '%22'
         13        SEND_VAL                                                 ~7
         14        DO_ICALL                                                 
   10    15      > RETURN                                                   null

End of function index

End of class Pdf.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.45 ms | 1395 KiB | 15 Q