3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(array('sorgenti',array('1','2','3','4','5'))); foreach($array as $r){ echo $r[0]; //echo $comma_separated; // lastname,email,phone $comma_separated = implode(",", $r[1]); echo "\n"; echo $comma_separated; // lastname,email,phone } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 14
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 14
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/4T8gb
function name:  (null)
number of ops:  16
compiled vars:  !0 = $array, !1 = $r, !2 = $comma_separated
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1      > FE_RESET_R                                       $4      !0, ->14
          2    > > FE_FETCH_R                                               $4, !1, ->14
    4     3    >   FETCH_DIM_R                                      ~5      !1, 0
          4        ECHO                                                     ~5
    6     5        INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 '%2C'
          7        FETCH_DIM_R                                      ~6      !1, 1
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !2, $7
    7    11        ECHO                                                     '%0A'
    8    12        ECHO                                                     !2
    3    13      > JMP                                                      ->2
         14    >   FE_FREE                                                  $4
   13    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.61 ms | 1395 KiB | 15 Q