3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ctr = 0; while ($ctr < 7) { $RespondentsResultSetArray[$ctr] = array( "Firstname" => "sample", "Lastname" => "name" ); $ctr = $ctr + 1; } foreach ($RespondentsResultSetArray as $key) { echo $key["Firstname"] . ' ' . $key["Lastname"] . ', '; } sqlsrv_free_stmt($stmt); echo implode(', ',array_values($RespondentsResultSetArray));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 2
Branch analysis from position: 8
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 17
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 17
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 2
Branch analysis from position: 8
Branch analysis from position: 2
filename:       /in/mgLC2
function name:  (null)
number of ops:  30
compiled vars:  !0 = $ctr, !1 = $RespondentsResultSetArray, !2 = $key, !3 = $stmt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1      > JMP                                                      ->6
    5     2    >   ASSIGN_DIM                                               !1, !0
    6     3        OP_DATA                                                  <array>
   10     4        ADD                                              ~6      !0, 1
          5        ASSIGN                                                   !0, ~6
    3     6    >   IS_SMALLER                                               !0, 7
          7      > JMPNZ                                                    ~8, ->2
   13     8    > > FE_RESET_R                                       $9      !1, ->17
          9    > > FE_FETCH_R                                               $9, !2, ->17
   14    10    >   FETCH_DIM_R                                      ~10     !2, 'Firstname'
         11        CONCAT                                           ~11     ~10, '+'
         12        FETCH_DIM_R                                      ~12     !2, 'Lastname'
         13        CONCAT                                           ~13     ~11, ~12
         14        CONCAT                                           ~14     ~13, '%2C+'
         15        ECHO                                                     ~14
   13    16      > JMP                                                      ->9
         17    >   FE_FREE                                                  $9
   17    18        INIT_FCALL_BY_NAME                                       'sqlsrv_free_stmt'
         19        SEND_VAR_EX                                              !3
         20        DO_FCALL                                      0          
   19    21        INIT_FCALL                                               'implode'
         22        SEND_VAL                                                 '%2C+'
         23        INIT_FCALL                                               'array_values'
         24        SEND_VAR                                                 !1
         25        DO_ICALL                                         $16     
         26        SEND_VAR                                                 $16
         27        DO_ICALL                                         $17     
         28        ECHO                                                     $17
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.55 ms | 1396 KiB | 17 Q