3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ctr = 0; while ($ctr < 7) { $RespondentsResultSetArray[$ctr] = array( "Nome" => "MERCEDES-BENZ 1620" ); $ctr = $ctr + 1; } $string = ""; foreach($RespondentsResultSetArray as $values) { $string= $string.",".implode(array_values($values),","); } $string=ltrim($string,","); echo $string;
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 = 10, Position 2 = 22
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 22
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
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/TE3qb
function name:  (null)
number of ops:  30
compiled vars:  !0 = $ctr, !1 = $RespondentsResultSetArray, !2 = $string, !3 = $values
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>
    9     4        ADD                                              ~6      !0, 1
          5        ASSIGN                                                   !0, ~6
    3     6    >   IS_SMALLER                                               !0, 7
          7      > JMPNZ                                                    ~8, ->2
   14     8    >   ASSIGN                                                   !2, ''
   15     9      > FE_RESET_R                                       $10     !1, ->22
         10    > > FE_FETCH_R                                               $10, !3, ->22
   18    11    >   CONCAT                                           ~11     !2, '%2C'
         12        INIT_FCALL                                               'implode'
         13        INIT_FCALL                                               'array_values'
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                         $12     
         16        SEND_VAR                                                 $12
         17        SEND_VAL                                                 '%2C'
         18        DO_ICALL                                         $13     
         19        CONCAT                                           ~14     ~11, $13
         20        ASSIGN                                                   !2, ~14
   15    21      > JMP                                                      ->10
         22    >   FE_FREE                                                  $10
   21    23        INIT_FCALL                                               'ltrim'
         24        SEND_VAR                                                 !2
         25        SEND_VAL                                                 '%2C'
         26        DO_ICALL                                         $16     
         27        ASSIGN                                                   !2, $16
   22    28        ECHO                                                     !2
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.1 ms | 1388 KiB | 19 Q