3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.48 ms | 1396 KiB | 19 Q