3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file=fopen("a.txt","r") or exit("Unable to open file!"); ?> --------------------------------------------------------------------------------
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XeaNi
function name:  (null)
number of ops:  10
compiled vars:  !0 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 'a.txt'
          2        SEND_VAL                                                 'r'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                           ~2      !0, $1
          5      > JMPNZ_EX                                         ~2      ~2, ->8
          6    > > EXIT                                                     'Unable+to+open+file%21'
          7*       BOOL                                             ~2      <true>
    4     8    >   ECHO                                                     '%0A--------------------------------------------------------------------------------'
    5     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.69 ms | 1385 KiB | 15 Q