3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('KINT_MB', function_exists('mb_substr')); for ($i = 0; $i < 1000; $i++) { if (KINT_MB) { } }
based on kPQHm
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 9
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 9
Branch analysis from position: 15
Branch analysis from position: 9
Branch analysis from position: 11
filename:       /in/q7qie
function name:  (null)
number of ops:  16
compiled vars:  !0 = $i
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'define'
         1        SEND_VAL                                                 'KINT_MB'
         2        INIT_FCALL                                               'function_exists'
         3        SEND_VAL                                                 'mb_substr'
         4        DO_ICALL                                         $1      
         5        SEND_VAR                                                 $1
         6        DO_ICALL                                                 
   5     7        ASSIGN                                                   !0, 0
         8      > JMP                                                      ->13
   6     9    >   FETCH_CONSTANT                                   ~4      'KINT_MB'
        10      > JMPZ                                                     ~4, ->11
   5    11    >   POST_INC                                         ~5      !0
        12        FREE                                                     ~5
        13    >   IS_SMALLER                                       ~6      !0, 1000
        14      > JMPNZ                                                    ~6, ->9
   9    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0