3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Soggetti = array(); $results = array( [ 'ID' => 0, 'CodiceIscrizione' => 'hello4', 'Visitato' => 'world4', ], [ 'ID' => 4, 'CodiceIscrizione' => 'hello4', 'Visitato' => 'world4', ], [ 'ID' => 2, 'CodiceIscrizione' => 'hello2', 'Visitato' => 'world2', ], [ 'ID' => 5, 'CodiceIscrizione' => 'hello5', 'Visitato' => 'world5', ], [ 'ID' => 3, 'CodiceIscrizione' => 'hello3', 'Visitato' => 'world3', ], ); foreach($results as $row) { $Soggetti[$row['ID']] = array(); $Soggetti[$row['ID']]['CodiceIscrizione'] = $row['CodiceIscrizione']; $Soggetti[$row['ID']]['Visitato'] = intval($row['Visitato']); } var_dump($Soggetti);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 19
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 19
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/c0EdP
function name:  (null)
number of ops:  24
compiled vars:  !0 = $Soggetti, !1 = $results, !2 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
   33     2      > FE_RESET_R                                       $5      !1, ->19
          3    > > FE_FETCH_R                                               $5, !2, ->19
   35     4    >   FETCH_DIM_R                                      ~6      !2, 'ID'
          5        ASSIGN_DIM                                               !0, ~6
          6        OP_DATA                                                  <array>
   36     7        FETCH_DIM_R                                      ~8      !2, 'ID'
          8        FETCH_DIM_R                                      ~11     !2, 'CodiceIscrizione'
          9        FETCH_DIM_W                                      $9      !0, ~8
         10        ASSIGN_DIM                                               $9, 'CodiceIscrizione'
         11        OP_DATA                                                  ~11
   37    12        FETCH_DIM_R                                      ~12     !2, 'ID'
         13        FETCH_DIM_R                                      ~15     !2, 'Visitato'
         14        CAST                                          4  ~16     ~15
         15        FETCH_DIM_W                                      $13     !0, ~12
         16        ASSIGN_DIM                                               $13, 'Visitato'
         17        OP_DATA                                                  ~16
   33    18      > JMP                                                      ->3
         19    >   FE_FREE                                                  $5
   39    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
229.17 ms | 1395 KiB | 15 Q