3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(stripos(PUPILPREMIUMFILTER, 'Y') === 0) { echo " and pp.eligible = 1"; } elseif(stripos(PUPILPREMIUMFILTER, 'N') === 0) { echo " and pp.eligible IS NULL"; } else { echo ""; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oYCsF
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'stripos'
          1        FETCH_CONSTANT                                   ~0      'PUPILPREMIUMFILTER'
          2        SEND_VAL                                                 ~0
          3        SEND_VAL                                                 'Y'
          4        DO_ICALL                                         $1      
          5        IS_IDENTICAL                                             $1, 0
          6      > JMPZ                                                     ~2, ->9
    3     7    >   ECHO                                                     '+and+pp.eligible+%3D+1'
          8      > JMP                                                      ->19
    4     9    >   INIT_FCALL                                               'stripos'
         10        FETCH_CONSTANT                                   ~3      'PUPILPREMIUMFILTER'
         11        SEND_VAL                                                 ~3
         12        SEND_VAL                                                 'N'
         13        DO_ICALL                                         $4      
         14        IS_IDENTICAL                                             $4, 0
         15      > JMPZ                                                     ~5, ->18
    5    16    >   ECHO                                                     '+and+pp.eligible+IS+NULL'
         17      > JMP                                                      ->19
    6    18    >   ECHO                                                     ''
    7    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.16 ms | 1395 KiB | 15 Q