3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = fopen('/etc/shadow', 'r'); while ($result = fread($fp, 4096)){ echo $result; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/tbUnD
function name:  (null)
number of ops:  14
compiled vars:  !0 = $fp, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 '%2Fetc%2Fshadow'
          2        SEND_VAL                                                 'r'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5      > JMP                                                      ->7
    4     6    >   ECHO                                                     !1
    3     7    >   INIT_FCALL                                               'fread'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 4096
         10        DO_ICALL                                         $4      
         11        ASSIGN                                           ~5      !1, $4
         12      > JMPNZ                                                    ~5, ->6
    5    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.91 ms | 1386 KiB | 17 Q