3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dosya = 1; while(1){ $ourFileHandle = fopen($dosya, 'w') or die("can't open file"); fclose($ourFileHandle); $dosya++; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 2
Branch analysis from position: 15
Branch analysis from position: 2
filename:       /in/6WKdV
function name:  (null)
number of ops:  16
compiled vars:  !0 = $dosya, !1 = $ourFileHandle
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1      > JMP                                                      ->14
    4     2    >   INIT_FCALL                                               'fopen'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'w'
          5        DO_ICALL                                         $3      
          6        ASSIGN                                           ~4      !1, $3
          7      > JMPNZ_EX                                         ~4      ~4, ->10
          8    > > EXIT                                                     'can%27t+open+file'
          9*       BOOL                                             ~4      <true>
    5    10    >   INIT_FCALL                                               'fclose'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
    6    13        PRE_INC                                                  !0
    3    14    > > JMPNZ                                                    1, ->2
    9    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.79 ms | 1386 KiB | 17 Q