3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "hier: " . strpos(strtoupper("enerparc_quarter_virtual_extra"), "EXTRA") === false ? "" : "_extra";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RiJ70
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strpos'
          1        INIT_FCALL                                               'strtoupper'
          2        SEND_VAL                                                 'enerparc_quarter_virtual_extra'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        SEND_VAL                                                 'EXTRA'
          6        DO_ICALL                                         $1      
          7        CONCAT                                           ~2      'hier%3A+', $1
          8        TYPE_CHECK                                    4          ~2
          9      > JMPZ                                                     ~3, ->12
         10    >   QM_ASSIGN                                        ~4      ''
         11      > JMP                                                      ->13
         12    >   QM_ASSIGN                                        ~4      '_extra'
         13    >   ECHO                                                     ~4
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.06 ms | 1394 KiB | 17 Q