3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { private $baz = 42; function __debugInfo(){ return ['nope']; } } var_dump(new Foo); debug_zval_dump(new Foo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OoJkC
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                                   'var_dump'
          1        NEW                                                  $0      'Foo'
          2        DO_FCALL                                          0          
          3        SEND_VAR                                                     $0
          4        DO_ICALL                                                     
   12     5        INIT_FCALL                                                   'debug_zval_dump'
          6        NEW                                                  $3      'Foo'
          7        DO_FCALL                                          0          
          8        SEND_VAR                                                     $3
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Class Foo:
Function __debuginfo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OoJkC
function name:  __debugInfo
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E > > RETURN                                                       <array>
    8     1*     > RETURN                                                       null

End of function __debuginfo

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.51 ms | 3358 KiB | 15 Q