3v4l.org

run code in 300+ PHP versions simultaneously
<?php $label_list = explode(',', '111, 222, 333'); foreach($label_list as &$label_item) { $label_item = trim(mb_strtolower($label_item)); } unset($label_item); var_dump($label_list); // source list foreach ($label_list as $label_item) { var_dump($label_list); //? wtf list }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 6, Position 2 = 15
Branch analysis from position: 6
2 jumps found. (Code = 126) Position 1 = 7, Position 2 = 15
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 15
2 jumps found. (Code = 77) Position 1 = 21, Position 2 = 26
Branch analysis from position: 21
2 jumps found. (Code = 78) Position 1 = 22, Position 2 = 26
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
Branch analysis from position: 15
filename:       /in/MjlcU
function name:  (null)
number of ops:  28
compiled vars:  !0 = $label_list, !1 = $label_item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '%2C'
          2        SEND_VAL                                                 '111%2C+222%2C+333'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5      > FE_RESET_RW                                      $4      !0, ->15
          6    > > FE_FETCH_RW                                              $4, !1, ->15
    5     7    >   INIT_FCALL                                               'trim'
          8        INIT_FCALL                                               'mb_strtolower'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !1, $6
    4    14      > JMP                                                      ->6
         15    >   FE_FREE                                                  $4
    7    16        UNSET_CV                                                 !1
    8    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                                 
    9    20      > FE_RESET_R                                       $9      !0, ->26
         21    > > FE_FETCH_R                                               $9, !1, ->26
   10    22    >   INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !0
         24        DO_ICALL                                                 
    9    25      > JMP                                                      ->21
         26    >   FE_FREE                                                  $9
   11    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.05 ms | 1014 KiB | 17 Q