3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nameOfAttachments = "steve.png"; if ( $nameOfAttachments != ''){ $arrayOfAttachmentNames = explode(', ', $nameOfAttachments); foreach($arrayOfAttachmentNames as $file){ echo $file; } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 13
Branch analysis from position: 3
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
Branch analysis from position: 13
filename:       /in/1KUl3
function name:  (null)
number of ops:  14
compiled vars:  !0 = $nameOfAttachments, !1 = $arrayOfAttachmentNames, !2 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'steve.png'
    5     1        IS_NOT_EQUAL                                             !0, ''
          2      > JMPZ                                                     ~4, ->13
    6     3    >   INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '%2C+'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    8     8      > FE_RESET_R                                       $7      !1, ->12
          9    > > FE_FETCH_R                                               $7, !2, ->12
    9    10    >   ECHO                                                     !2
    8    11      > JMP                                                      ->9
         12    >   FE_FREE                                                  $7
   14    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.91 ms | 1399 KiB | 15 Q