3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arObj = [1,2,3,4,5]; while(list(,$v) = each($arObj)){ //var_dump($v); echo "$v" . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
Branch analysis from position: 2
filename:       /in/iaDbn
function name:  (null)
number of ops:  12
compiled vars:  !0 = $arObj, !1 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1      > JMP                                                      ->5
    5     2    >   CAST                                          6  ~3      !1
          3        CONCAT                                           ~4      ~3, '%0A'
          4        ECHO                                                     ~4
    3     5    >   INIT_FCALL_BY_NAME                                       'each'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $5      
          8        FETCH_LIST_R                                     $6      $5, 1
          9        ASSIGN                                                   !1, $6
         10      > JMPNZ                                                    $5, ->2
    6    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.83 ms | 1393 KiB | 13 Q