3v4l.org

run code in 300+ PHP versions simultaneously
<?php while(posix_fork()) { $foo .= str_repeat("x", 10485760); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 1
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 1
Branch analysis from position: 9
Branch analysis from position: 1
filename:       /in/cijNo
function name:  (null)
number of ops:  10
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E > > JMP                                                      ->6
          1    >   INIT_FCALL                                               'str_repeat'
          2        SEND_VAL                                                 'x'
          3        SEND_VAL                                                 10485760
          4        DO_ICALL                                         $1      
          5        ASSIGN_OP                                     8          !0, $1
          6    >   INIT_FCALL_BY_NAME                                       'posix_fork'
          7        DO_FCALL                                      0  $3      
          8      > JMPNZ                                                    $3, ->1
          9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.96 ms | 1394 KiB | 15 Q