3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents("/tmp/.hidden", ""); print_r( glob("{/tmp/*,/tmp/.*}", GLOB_BRACE) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fKODV
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_put_contents'
          1        SEND_VAL                                                 '%2Ftmp%2F.hidden'
          2        SEND_VAL                                                 ''
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'print_r'
          5        INIT_FCALL                                               'glob'
          6        SEND_VAL                                                 '%7B%2Ftmp%2F%2A%2C%2Ftmp%2F.%2A%7D'
          7        SEND_VAL                                                 1024
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.63 ms | 1398 KiB | 19 Q