3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_productCollection = array(1,2,3,4); $row2 = array(); list($row1) = array_chunk($_productCollection, 4); if ($row2) { echo "Yes"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/ZL9Qi
function name:  (null)
number of ops:  12
compiled vars:  !0 = $_productCollection, !1 = $row2, !2 = $row1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'array_chunk'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 4
          5        DO_ICALL                                         $5      
          6        FETCH_LIST_R                                     $6      $5, 0
          7        ASSIGN                                                   !2, $6
          8        FREE                                                     $5
    5     9      > JMPZ                                                     !1, ->11
         10    >   ECHO                                                     'Yes'
         11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.07 ms | 1394 KiB | 15 Q