3v4l.org

run code in 300+ PHP versions simultaneously
<?php chdir('/tmp'); while(1){ mkdir('./1'); chdir('./1'); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
Branch analysis from position: 4
filename:       /in/h1Vni
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'chdir'
          1        SEND_VAL                                                 '%2Ftmp'
          2        DO_ICALL                                                 
    3     3      > JMP                                                      ->10
    4     4    >   INIT_FCALL                                               'mkdir'
          5        SEND_VAL                                                 '.%2F1'
          6        DO_ICALL                                                 
    5     7        INIT_FCALL                                               'chdir'
          8        SEND_VAL                                                 '.%2F1'
          9        DO_ICALL                                                 
    3    10    > > JMPNZ                                                    1, ->4
    6    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.61 ms | 939 KiB | 18 Q