3v4l.org

run code in 300+ PHP versions simultaneously
<?php $end = array( "id" => array("value_id_1,value_id_2,value_id_3"), "title"=> array("value_title_1,value_title_2,value_title_3"), "content"=>array("value_content_1,value_content_2,value_content_3") ); $iterator = 0; while ( $iterator < 2) { $api_arr["data"][] = array( "id" => $end["id"], "title" => $end["title"], "content" => $end["content"] ); $iterator ++; } print_r($api_arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
Branch analysis from position: 3
filename:       /in/eeMGA
function name:  (null)
number of ops:  19
compiled vars:  !0 = $end, !1 = $iterator, !2 = $api_arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        ASSIGN                                                   !1, 0
   10     2      > JMP                                                      ->13
   13     3    >   FETCH_DIM_R                                      ~7      !0, 'id'
          4        INIT_ARRAY                                       ~8      ~7, 'id'
   14     5        FETCH_DIM_R                                      ~9      !0, 'title'
          6        ADD_ARRAY_ELEMENT                                ~8      ~9, 'title'
   15     7        FETCH_DIM_R                                      ~10     !0, 'content'
          8        ADD_ARRAY_ELEMENT                                ~8      ~10, 'content'
   12     9        FETCH_DIM_W                                      $5      !2, 'data'
         10        ASSIGN_DIM                                               $5
   15    11        OP_DATA                                                  ~8
   16    12        PRE_INC                                                  !1
   10    13    >   IS_SMALLER                                               !1, 2
         14      > JMPNZ                                                    ~12, ->3
   19    15    >   INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.4 ms | 1395 KiB | 15 Q