3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = ['t', 'e', 'a']; foreach ($str as &$chr) {} echo implode('', $str); foreach ($str as &$chr) {} unset($chr); echo implode('', $str); foreach ($str as $chr) {} echo implode('', $str);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
2 jumps found. (Code = 126) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 4
2 jumps found. (Code = 125) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
2 jumps found. (Code = 126) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 13
2 jumps found. (Code = 77) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
2 jumps found. (Code = 78) Position 1 = 22, Position 2 = 23
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
Branch analysis from position: 13
Branch analysis from position: 4
filename:       /in/bEZd1
function name:  (null)
number of ops:  30
compiled vars:  !0 = $str, !1 = $chr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1      > FE_RESET_RW                                      $3      !0, ->4
          2    > > FE_FETCH_RW                                              $3, !1, ->4
          3    > > JMP                                                      ->2
          4    >   FE_FREE                                                  $3
    6     5        INIT_FCALL                                               'implode'
          6        SEND_VAL                                                 ''
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ECHO                                                     $4
    7    10      > FE_RESET_RW                                      $5      !0, ->13
         11    > > FE_FETCH_RW                                              $5, !1, ->13
         12    > > JMP                                                      ->11
         13    >   FE_FREE                                                  $5
    8    14        UNSET_CV                                                 !1
    9    15        INIT_FCALL                                               'implode'
         16        SEND_VAL                                                 ''
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $6      
         19        ECHO                                                     $6
   10    20      > FE_RESET_R                                       $7      !0, ->23
         21    > > FE_FETCH_R                                               $7, !1, ->23
         22    > > JMP                                                      ->21
         23    >   FE_FREE                                                  $7
   11    24        INIT_FCALL                                               'implode'
         25        SEND_VAL                                                 ''
         26        SEND_VAR                                                 !0
         27        DO_ICALL                                         $8      
         28        ECHO                                                     $8
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.14 ms | 1400 KiB | 15 Q