3v4l.org

run code in 300+ PHP versions simultaneously
<?php $selected = array('2-5reel'); foreach($jackpots as $id => $name){ if(in_array($id,$selected)){ echo 'fuck'.$id.'<br />'; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 13
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 13
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 12
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/L88CD
function name:  (null)
number of ops:  15
compiled vars:  !0 = $selected, !1 = $jackpots, !2 = $name, !3 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1      > FE_RESET_R                                       $5      !1, ->13
          2    > > FE_FETCH_R                                       ~6      $5, !2, ->13
          3    >   ASSIGN                                                   !3, ~6
    6     4        INIT_FCALL                                               'in_array'
          5        SEND_VAR                                                 !3
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $8      
          8      > JMPZ                                                     $8, ->12
    7     9    >   CONCAT                                           ~9      'fuck', !3
         10        CONCAT                                           ~10     ~9, '%3Cbr+%2F%3E'
         11        ECHO                                                     ~10
    5    12    > > JMP                                                      ->2
         13    >   FE_FREE                                                  $5
    9    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.73 ms | 1395 KiB | 15 Q