3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('KINT_MB', function_exists('mb_substr')); for ($i = 0; $i < 1000; $i++) { if (KINT_MB) { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 9
Branch analysis from position: 14
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 = 14, Position 2 = 9
Branch analysis from position: 14
Branch analysis from position: 9
Branch analysis from position: 11
filename:       /in/q7qie
function name:  (null)
number of ops:  15
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                                                      ->12
    6     9    >   FETCH_CONSTANT                                   ~4      'KINT_MB'
         10      > JMPZ                                                     ~4, ->11
    5    11    >   PRE_INC                                                  !0
         12    >   IS_SMALLER                                               !0, 1000
         13      > JMPNZ                                                    ~6, ->9
    9    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.38 ms | 1395 KiB | 17 Q