3v4l.org

run code in 300+ PHP versions simultaneously
<?php $DEST = '["ADT - HomeSecurityRatings","http://www.protectyourhome.com/partner/dl-01t-wl","100","ADT - HomeSecurityRatings","http://quickpixel.net/?a=653&amp;c=21503&amp;s1 ","0"]'; $array = explode(',',$DEST); $iter = 0; $max = count($array); $records = $max/3; $result = array(); $row = array(); $row = []; for ($j =0;$j<$records; $j++) { $index = ($j*3)+$j; $result[]=array($array[$index],$array[$index+1],$array[$index+2]); } print_r($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 16
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 16
Branch analysis from position: 32
Branch analysis from position: 16
filename:       /in/YicMB
function name:  (null)
number of ops:  36
compiled vars:  !0 = $DEST, !1 = $array, !2 = $iter, !3 = $max, !4 = $records, !5 = $result, !6 = $row, !7 = $j, !8 = $index
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5B%22ADT+-+HomeSecurityRatings%22%2C%22http%3A%2F%2Fwww.protectyourhome.com%2Fpartner%2Fdl-01t-wl%22%2C%22100%22%2C%22ADT+-+HomeSecurityRatings%22%2C%22http%3A%2F%2Fquickpixel.net%2F%3Fa%3D653%26amp%3Bc%3D21503%26amp%3Bs1+%22%2C%220%22%5D'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2C'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $10     
          5        ASSIGN                                                   !1, $10
    5     6        ASSIGN                                                   !2, 0
    6     7        COUNT                                            ~13     !1
          8        ASSIGN                                                   !3, ~13
    7     9        DIV                                              ~15     !3, 3
         10        ASSIGN                                                   !4, ~15
    8    11        ASSIGN                                                   !5, <array>
    9    12        ASSIGN                                                   !6, <array>
   10    13        ASSIGN                                                   !6, <array>
   11    14        ASSIGN                                                   !7, 0
         15      > JMP                                                      ->30
   12    16    >   MUL                                              ~21     !7, 3
         17        ADD                                              ~22     ~21, !7
         18        ASSIGN                                                   !8, ~22
   13    19        FETCH_DIM_R                                      ~25     !1, !8
         20        INIT_ARRAY                                       ~26     ~25
         21        ADD                                              ~27     !8, 1
         22        FETCH_DIM_R                                      ~28     !1, ~27
         23        ADD_ARRAY_ELEMENT                                ~26     ~28
         24        ADD                                              ~29     !8, 2
         25        FETCH_DIM_R                                      ~30     !1, ~29
         26        ADD_ARRAY_ELEMENT                                ~26     ~30
         27        ASSIGN_DIM                                               !5
         28        OP_DATA                                                  ~26
   11    29        PRE_INC                                                  !7
         30    >   IS_SMALLER                                               !7, !4
         31      > JMPNZ                                                    ~32, ->16
   15    32    >   INIT_FCALL                                               'print_r'
         33        SEND_VAR                                                 !5
         34        DO_ICALL                                                 
         35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.02 ms | 1396 KiB | 17 Q