3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo setlocale(LC_ALL, "tr_TR.UTF-8") . "\n"; foreach (get_declared_classes() as $class) { if (!class_exists($class)) { echo "{$class} no longer exists\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 19
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 19
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 18
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 18
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/sQdOb
function name:  (null)
number of ops:  21
compiled vars:  !0 = $class
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 6
          2        SEND_VAL                                                 'tr_TR.UTF-8'
          3        DO_ICALL                                         $1      
          4        CONCAT                                           ~2      $1, '%0A'
          5        ECHO                                                     ~2
    5     6        INIT_FCALL                                               'get_declared_classes'
          7        DO_ICALL                                         $3      
          8      > FE_RESET_R                                       $4      $3, ->19
          9    > > FE_FETCH_R                                               $4, !0, ->19
    6    10    >   INIT_FCALL                                               'class_exists'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $5      
         13        BOOL_NOT                                         ~6      $5
         14      > JMPZ                                                     ~6, ->18
    7    15    >   NOP                                                      
         16        FAST_CONCAT                                      ~7      !0, '+no+longer+exists%0A'
         17        ECHO                                                     ~7
    5    18    > > JMP                                                      ->9
         19    >   FE_FREE                                                  $4
    9    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.31 ms | 1395 KiB | 19 Q