3v4l.org

run code in 300+ PHP versions simultaneously
<?php function checktplrefresh($full_tpl_file_path, $full_cache_file_path, $timecompare, $tplrefresh=0) { if(isset($timecompare) && $tplrefresh = 1) { if(isset($timecompare) || filemtime($subtpl) > $timecompare) { $this->parse_template($maintpl, 0, $tpldir, $file, $cachefile); unset($maintpl, $subtpl, $timecompare, $cachefile, $tpldir, $file); return TRUE; } } return FALSE; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vrXbS
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   1

Function checktplrefresh:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 32
Branch analysis from position: 9
2 jumps found. (Code = 47) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 32
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 32
Branch analysis from position: 8
filename:       /in/vrXbS
function name:  checktplrefresh
number of ops:  34
compiled vars:  !0 = $full_tpl_file_path, !1 = $full_cache_file_path, !2 = $timecompare, !3 = $tplrefresh, !4 = $subtpl, !5 = $maintpl, !6 = $tpldir, !7 = $file, !8 = $cachefile
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV_INIT                                        !3      0
    3     4        ISSET_ISEMPTY_CV                                 ~9      !2
          5      > JMPZ_EX                                          ~9      ~9, ->8
          6    >   ASSIGN                                           ~10     !3, 1
          7        BOOL                                             ~9      ~10
          8    > > JMPZ                                                     ~9, ->32
    4     9    >   ISSET_ISEMPTY_CV                                 ~11     !2
         10      > JMPNZ_EX                                         ~11     ~11, ->16
         11    >   INIT_FCALL                                               'filemtime'
         12        SEND_VAR                                                 !4
         13        DO_ICALL                                         $12     
         14        IS_SMALLER                                       ~13     !2, $12
         15        BOOL                                             ~11     ~13
         16    > > JMPZ                                                     ~11, ->32
    5    17    >   FETCH_THIS                                       $14     
         18        INIT_METHOD_CALL                                         $14, 'parse_template'
         19        SEND_VAR_EX                                              !5
         20        SEND_VAL_EX                                              0
         21        SEND_VAR_EX                                              !6
         22        SEND_VAR_EX                                              !7
         23        SEND_VAR_EX                                              !8
         24        DO_FCALL                                      0          
    6    25        UNSET_CV                                                 !5
         26        UNSET_CV                                                 !4
         27        UNSET_CV                                                 !2
         28        UNSET_CV                                                 !8
         29        UNSET_CV                                                 !6
         30        UNSET_CV                                                 !7
    7    31      > RETURN                                                   <true>
   10    32    > > RETURN                                                   <false>
   11    33*     > RETURN                                                   null

End of function checktplrefresh

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.49 ms | 1400 KiB | 15 Q