3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(in_array('A', get_declared_classes())); class A {} print_r(in_array('A', get_declared_classes()));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HC6dt
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'in_array'
          2        SEND_VAL                                                 'A'
          3        INIT_FCALL                                               'get_declared_classes'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'print_r'
         10        INIT_FCALL                                               'in_array'
         11        SEND_VAL                                                 'A'
         12        INIT_FCALL                                               'get_declared_classes'
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.94 ms | 1394 KiB | 19 Q