3v4l.org

run code in 300+ PHP versions simultaneously
<?php $something = ['just', 'a', 'stupid, example']; // don't do this: ?> <li> <?php if($something) { foreach($something as $whatever) { echo "${whatever} "; } } ?> </li> <?php // do this $contents = implode($something, ' '); ?> <li> <?php echo $contents; ?> </li>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 10
filename:       /in/VDOKJ
function name:  (null)
number of ops:  20
compiled vars:  !0 = $something, !1 = $whatever, !2 = $contents
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        ECHO                                                     '%3Cli%3E%0A++++'
    9     2      > JMPZ                                                     !0, ->10
   10     3    > > FE_RESET_R                                       $4      !0, ->9
          4    > > FE_FETCH_R                                               $4, !1, ->9
   11     5    >   NOP                                                      
          6        FAST_CONCAT                                      ~5      !1, '+'
          7        ECHO                                                     ~5
   10     8      > JMP                                                      ->4
          9    >   FE_FREE                                                  $4
   15    10    >   ECHO                                                     '%3C%2Fli%3E%0A%0A%0A'
   21    11        INIT_FCALL                                               'implode'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 '+'
         14        DO_ICALL                                         $6      
         15        ASSIGN                                                   !2, $6
   23    16        ECHO                                                     '+%3Cli%3E%0A+++++'
   24    17        ECHO                                                     !2
   25    18        ECHO                                                     '+%3C%2Fli%3E'
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.62 ms | 1400 KiB | 15 Q