3v4l.org

run code in 300+ PHP versions simultaneously
<?php $KalenderUser = [ 0 => ['vorname' => 'Ferdl', 'name' => 'Feuerstein'], 1 => ['vorname' => 'Hans', 'name' => 'Hohlbein'] ]; $output = ""; $cnt=count($KalenderUser); for($i=0; $i<$cnt; ++$i) { $output .= htmlspecialchars($KalenderUser[$i]['vorname'] . " " . $KalenderUser[$i]['name']); if($i < $cnt-1) { $output .= ", "; } } echo $output;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 6
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 20
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 6
Branch analysis from position: 23
Branch analysis from position: 6
Branch analysis from position: 20
filename:       /in/n16l3
function name:  (null)
number of ops:  25
compiled vars:  !0 = $KalenderUser, !1 = $output, !2 = $cnt, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    8     1        ASSIGN                                                   !1, ''
    9     2        COUNT                                            ~6      !0
          3        ASSIGN                                                   !2, ~6
   11     4        ASSIGN                                                   !3, 0
          5      > JMP                                                      ->21
   13     6    >   INIT_FCALL                                               'htmlspecialchars'
          7        FETCH_DIM_R                                      ~9      !0, !3
          8        FETCH_DIM_R                                      ~10     ~9, 'vorname'
          9        CONCAT                                           ~11     ~10, '+'
         10        FETCH_DIM_R                                      ~12     !0, !3
         11        FETCH_DIM_R                                      ~13     ~12, 'name'
         12        CONCAT                                           ~14     ~11, ~13
         13        SEND_VAL                                                 ~14
         14        DO_ICALL                                         $15     
         15        ASSIGN_OP                                     8          !1, $15
   14    16        SUB                                              ~17     !2, 1
         17        IS_SMALLER                                               !3, ~17
         18      > JMPZ                                                     ~18, ->20
   15    19    >   ASSIGN_OP                                     8          !1, '%2C+'
   11    20    >   PRE_INC                                                  !3
         21    >   IS_SMALLER                                               !3, !2
         22      > JMPNZ                                                    ~21, ->6
   19    23    >   ECHO                                                     !1
   20    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.02 ms | 1395 KiB | 15 Q