3v4l.org

run code in 300+ PHP versions simultaneously
<?php $poketemp = Array ( 0 => 'Box', 1 => 'Slot', 2 => 'Name', 3 => 'Nature', 4 => 'Ability', 5 => 'Spread', 6 => 'SV' ); if($poketemp[0] !== 'Box'){ echo 'Box: ' . $poketemp[0] . ' Slot: ' . $poketemp[1]; } else { echo 'no problems here, nothing to see, move along'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 11
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/57iZI
function name:  (null)
number of ops:  13
compiled vars:  !0 = $poketemp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        FETCH_DIM_R                                      ~2      !0, 0
          2        IS_NOT_IDENTICAL                                         ~2, 'Box'
          3      > JMPZ                                                     ~3, ->11
    4     4    >   FETCH_DIM_R                                      ~4      !0, 0
          5        CONCAT                                           ~5      'Box%3A+', ~4
          6        CONCAT                                           ~6      ~5, '+Slot%3A+'
          7        FETCH_DIM_R                                      ~7      !0, 1
          8        CONCAT                                           ~8      ~6, ~7
          9        ECHO                                                     ~8
         10      > JMP                                                      ->12
    6    11    >   ECHO                                                     'no+problems+here%2C+nothing+to+see%2C+move+along'
    7    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.41 ms | 1393 KiB | 13 Q