3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( get_class(new class {}), get_class(new class {}) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bcc8J
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        DECLARE_ANON_CLASS                               2       
          2        NEW                                              $1      $0
          3        DO_FCALL                                      0          
          4        GET_CLASS                                        ~3      $1
          5        SEND_VAL                                                 ~3
    5     6        DECLARE_ANON_CLASS                               4.74303e-322    
          7        NEW                                              $5      $4
          8        DO_FCALL                                      0          
          9        GET_CLASS                                        ~7      $5
         10        SEND_VAL                                                 ~7
         11        DO_ICALL                                                 
    6    12      > RETURN                                                   1

Class class@anonymous: [no user functions]
Class class@anonymous: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.23 ms | 1394 KiB | 15 Q