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, false)) { echo "{$class} no longer exists\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 20
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 20
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 19
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 19
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/E9KWR
function name:  (null)
number of ops:  22
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, ->20
          9    > > FE_FETCH_R                                               $4, !0, ->20
    6    10    >   INIT_FCALL                                               'class_exists'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 <false>
         13        DO_ICALL                                         $5      
         14        BOOL_NOT                                         ~6      $5
         15      > JMPZ                                                     ~6, ->19
    7    16    >   NOP                                                      
         17        FAST_CONCAT                                      ~7      !0, '+no+longer+exists%0A'
         18        ECHO                                                     ~7
    5    19    > > JMP                                                      ->9
         20    >   FE_FREE                                                  $4
    9    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.89 ms | 1400 KiB | 19 Q