3v4l.org

run code in 300+ PHP versions simultaneously
<?php gc_disable(); class Foo { public static $bar = "glopr"; public $thing = 1; } var_dump(get_class_vars('Foo'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/c3TRK
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'gc_disable'
          1        DO_ICALL                                                 
    9     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'get_class_vars'
          4        SEND_VAL                                                 'Foo'
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.79 ms | 1385 KiB | 19 Q