3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace db\update\watcher; class Foo { public function get_class_name(){ echo get_class($this); } } $obj = new Foo; $obj->get_class_name();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HcYuG
function name:  (null)
number of ops:  6
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   NEW                                              $1      'db%5Cupdate%5Cwatcher%5CFoo'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   12     3        INIT_METHOD_CALL                                         !0, 'get_class_name'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class db\update\watcher\Foo:
Function get_class_name:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HcYuG
function name:  get_class_name
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_NS_FCALL_BY_NAME                                    'db%5Cupdate%5Cwatcher%5Cget_class'
          1        FETCH_THIS                                       $0      
          2        SEND_VAR_EX                                              $0
          3        DO_FCALL                                      0  $1      
          4        ECHO                                                     $1
    8     5      > RETURN                                                   null

End of function get_class_name

End of class db\update\watcher\Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.73 ms | 997 KiB | 14 Q