3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach(array(5,2,20,26,11) as $number){ echo 'Before: ' . $number . ' '; if (9 > $number && $number < 36 && $number !== 11 && $number !== 22) { echo 'After: ' . $number . "\n"; } }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 1, Position 2 = 20
Branch analysis from position: 1
Jump found. Position 1 = 2, Position 2 = 20
Branch analysis from position: 2
Jump found. Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
Jump found. Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
Jump found. Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
Jump found. Position 1 = 16, Position 2 = 19
Branch analysis from position: 16
Jump found. Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 19
Branch analysis from position: 15
Branch analysis from position: 12
Branch analysis from position: 9
Branch analysis from position: 20
Jump found. Position 1 = -2
Branch analysis from position: 20
filename:       /in/Ui2oW
function name:  (null)
number of ops:  22
compiled vars:  !0 = $number
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E > > FE_RESET_R                                       $1      <array>, ->20
         1    > > FE_FETCH_R                                               $1, !0, ->20
   4     2    >   CONCAT                                           ~2      'Before%3A+', !0
         3        CONCAT                                           ~3      ~2, '+'
         4        ECHO                                                     ~3
   5     5        IS_SMALLER                                       ~4      !0, 9
         6      > JMPZ_EX                                          ~4      ~4, ->9
         7    >   IS_SMALLER                                       ~5      !0, 36
         8        BOOL                                             ~4      ~5
         9    > > JMPZ_EX                                          ~4      ~4, ->12
        10    >   IS_NOT_IDENTICAL                                 ~6      !0, 11
        11        BOOL                                             ~4      ~6
        12    > > JMPZ_EX                                          ~4      ~4, ->15
        13    >   IS_NOT_IDENTICAL                                 ~7      !0, 22
        14        BOOL                                             ~4      ~7
        15    > > JMPZ                                                     ~4, ->19
   7    16    >   CONCAT                                           ~8      'After%3A+', !0
        17        CONCAT                                           ~9      ~8, '%0A'
        18        ECHO                                                     ~9
        19    > > JMP                                                      ->1
        20    >   FE_FREE                                                  $1
        21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0