3v4l.org

run code in 300+ PHP versions simultaneously
<?php function renderTemplate($filename, $values) { ob_start(); extract($values); include $filename; return ob_get_clean(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kZs4A
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   1

Function rendertemplate:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kZs4A
function name:  renderTemplate
number of ops:  12
compiled vars:  !0 = $filename, !1 = $values
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    4     2        INIT_FCALL                                               'ob_start'
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'extract'
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    6     7        INCLUDE_OR_EVAL                                          !0, INCLUDE
    7     8        INIT_FCALL                                               'ob_get_clean'
          9        DO_ICALL                                         $5      
         10      > RETURN                                                   $5
    8    11*     > RETURN                                                   null

End of function rendertemplate

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.99 ms | 999 KiB | 16 Q