3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = get_declared_classes(); foreach($foo as $bar) { if (strpos($bar, 'Intl') !== false) { echo $foo . PHP_EOL; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 14
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 14
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 13
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/NYt9t
function name:  (null)
number of ops:  16
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'get_declared_classes'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    5     3      > FE_RESET_R                                       $4      !0, ->14
          4    > > FE_FETCH_R                                               $4, !1, ->14
    6     5    >   INIT_FCALL                                               'strpos'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 'Intl'
          8        DO_ICALL                                         $5      
          9        TYPE_CHECK                                  1018          $5
         10      > JMPZ                                                     ~6, ->13
    7    11    >   CONCAT                                           ~7      !0, '%0A'
         12        ECHO                                                     ~7
    5    13    > > JMP                                                      ->4
         14    >   FE_FREE                                                  $4
    9    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.06 ms | 1386 KiB | 17 Q