3v4l.org

run code in 500+ PHP versions simultaneously
<?php //namespace crm; class et{ protected $table = "b"; public $field = "d"; private $x = "private!"; public function dump(){ var_dump( array_map('get_object_vars', [$this]) ); } } $et = new et(); $et->dump();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FSHsW
function name:  (null)
number of ops:  6
compiled vars:  !0 = $et
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   19     0  E >   NEW                                                  $1      'et'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $1
   20     3        INIT_METHOD_CALL                                             !0, 'dump'
          4        DO_FCALL                                          0          
          5      > RETURN                                                       1

Class et:
Function dump:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FSHsW
function name:  dump
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'array_map'
          2        SEND_VAL                                                     'get_object_vars'
          3        FETCH_THIS                                           ~0      
          4        INIT_ARRAY                                           ~1      ~0
          5        SEND_VAL                                                     ~1
          6        DO_ICALL                                             $2      
          7        SEND_VAR                                                     $2
          8        DO_ICALL                                                     
   15     9      > RETURN                                                       null

End of function dump

End of class et.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.8 ms | 2278 KiB | 15 Q