3v4l.org

run code in 500+ PHP versions simultaneously
<?php $res = fopen(__FILE__, "r"); for ($i=0; $i<10; $i++) { var_dump($res = fopen("php://fd/$i", "r"), stream_get_meta_data($res)); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 7
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 7
Branch analysis from position: 24
Branch analysis from position: 7
filename:       /in/V5REt
function name:  (null)
number of ops:  25
compiled vars:  !0 = $res, !1 = $i
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'fopen'
          1        SEND_VAL                                                     '%2Fin%2FV5REt'
          2        SEND_VAL                                                     'r'
          3        DO_ICALL                                             $2      
          4        ASSIGN                                                       !0, $2
    5     5        ASSIGN                                                       !1, 0
          6      > JMP                                                          ->22
    6     7    >   INIT_FCALL                                                   'var_dump'
          8        INIT_FCALL                                                   'fopen'
          9        NOP                                                          
         10        FAST_CONCAT                                          ~5      'php%3A%2F%2Ffd%2F', !1
         11        SEND_VAL                                                     ~5
         12        SEND_VAL                                                     'r'
         13        DO_ICALL                                             $6      
         14        ASSIGN                                               ~7      !0, $6
         15        SEND_VAL                                                     ~7
         16        INIT_FCALL                                                   'stream_get_meta_data'
         17        SEND_VAR                                                     !0
         18        DO_ICALL                                             $8      
         19        SEND_VAR                                                     $8
         20        DO_ICALL                                                     
    5    21        PRE_INC                                                      !1
         22    >   IS_SMALLER                                                   !1, 10
         23      > JMPNZ                                                        ~11, ->7
    7    24    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
148.05 ms | 2996 KiB | 16 Q