3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($post_types = glob(dirname(__FILE__) . '/*.*')) foreach ($post_types as $post_type) echo $post_type;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 14
filename:       /in/CLrkT
function name:  (null)
number of ops:  15
compiled vars:  !0 = $post_types, !1 = $post_type
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'glob'
          1        INIT_FCALL                                               'dirname'
          2        SEND_VAL                                                 '%2Fin%2FCLrkT'
          3        DO_ICALL                                         $2      
          4        CONCAT                                           ~3      $2, '%2F%2A.%2A'
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                         $4      
          7        ASSIGN                                           ~5      !0, $4
          8      > JMPZ                                                     ~5, ->14
    4     9    > > FE_RESET_R                                       $6      !0, ->13
         10    > > FE_FETCH_R                                               $6, !1, ->13
    5    11    >   ECHO                                                     !1
    4    12      > JMP                                                      ->10
         13    >   FE_FREE                                                  $6
    5    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.59 ms | 1386 KiB | 17 Q