3v4l.org

run code in 500+ PHP versions simultaneously
<?php $poster_xd = ['test']; while(list($code_name,) = each($poster_xd)) { $poster_xd[$code_name] = 'y'; } var_dump($poster_xd);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
Branch analysis from position: 2
filename:       /in/mTeIL
function name:  (null)
number of ops:  14
compiled vars:  !0 = $poster_xd, !1 = $code_name
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1      > JMP                                                          ->4
    6     2    >   ASSIGN_DIM                                                   !0, !1
          3        OP_DATA                                                      'y'
    4     4    >   INIT_FCALL_BY_NAME                                           'each'
          5        SEND_VAR_EX                                                  !0
          6        DO_FCALL                                          0  $4      
          7        FETCH_LIST_R                                         $5      $4, 0
          8        ASSIGN                                                       !1, $5
          9      > JMPNZ                                                        $4, ->2
    9    10    >   INIT_FCALL                                                   'var_dump'
         11        SEND_VAR                                                     !0
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.63 ms | 1477 KiB | 14 Q