3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (function_exists('gc_disable')) { 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
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/6NCXq
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'gc_disable'
          2        DO_ICALL                                         $0      
          3      > JMPZ                                                     $0, ->6
    4     4    >   INIT_FCALL                                               'gc_disable'
          5        DO_ICALL                                                 
   12     6    >   INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'get_class_vars'
          8        SEND_VAL                                                 'Foo'
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.37 ms | 1394 KiB | 21 Q