3v4l.org

run code in 300+ PHP versions simultaneously
<?php assert(function_exists('glob')); assert(function_exists('dirname')); assert(defined('__FILE__')); if ($post_types = glob(dirname(__FILE__) . '/post-types/*.php')) foreach ($post_types as $post_type) require_once $post_type;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 36
Branch analysis from position: 31
2 jumps found. (Code = 77) Position 1 = 32, Position 2 = 35
Branch analysis from position: 32
2 jumps found. (Code = 78) Position 1 = 33, Position 2 = 35
Branch analysis from position: 33
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 35
Branch analysis from position: 36
filename:       /in/16B5u
function name:  (null)
number of ops:  37
compiled vars:  !0 = $post_types, !1 = $post_type
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSERT_CHECK                                             
          1        INIT_FCALL                                               'assert'
          2        INIT_FCALL                                               'function_exists'
          3        SEND_VAL                                                 'glob'
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        SEND_VAL                                                 'assert%28function_exists%28%27glob%27%29%29'
          7        DO_ICALL                                                 
    5     8        ASSERT_CHECK                                             
          9        INIT_FCALL                                               'assert'
         10        INIT_FCALL                                               'function_exists'
         11        SEND_VAL                                                 'dirname'
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        SEND_VAL                                                 'assert%28function_exists%28%27dirname%27%29%29'
         15        DO_ICALL                                                 
    6    16        ASSERT_CHECK                                             
         17        INIT_FCALL                                               'assert'
         18        DEFINED                                          ~6      '__FILE__'
         19        SEND_VAL                                                 ~6
         20        SEND_VAL                                                 'assert%28defined%28%27__FILE__%27%29%29'
         21        DO_ICALL                                                 
   10    22        INIT_FCALL                                               'glob'
         23        INIT_FCALL                                               'dirname'
         24        SEND_VAL                                                 '%2Fin%2F16B5u'
         25        DO_ICALL                                         $8      
         26        CONCAT                                           ~9      $8, '%2Fpost-types%2F%2A.php'
         27        SEND_VAL                                                 ~9
         28        DO_ICALL                                         $10     
         29        ASSIGN                                           ~11     !0, $10
         30      > JMPZ                                                     ~11, ->36
   11    31    > > FE_RESET_R                                       $12     !0, ->35
         32    > > FE_FETCH_R                                               $12, !1, ->35
   12    33    >   INCLUDE_OR_EVAL                                          !1, REQUIRE_ONCE
   11    34      > JMP                                                      ->32
         35    >   FE_FREE                                                  $12
   12    36    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.69 ms | 1396 KiB | 21 Q