3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Test{ public function testtreit(){ return 'Это трейт !'; } } class Apple { public $var1; public $var2 = 'Orange'; public function type() { return 'Apple'; } public function __call($name, $arg){ call_user_func_array($name); } } $ar = new Apple(); $ar->testtreit; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5ibSN
function name:  (null)
number of ops:  6
compiled vars:  !0 = $ar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   NEW                                              $1      'Apple'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   21     3        FETCH_OBJ_R                                      ~4      !0, 'testtreit'
          4        FREE                                                     ~4
   22     5      > RETURN                                                   1

Class Test:
Function testtreit:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5ibSN
function name:  testtreit
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                   '%D0%AD%D1%82%D0%BE+%D1%82%D1%80%D0%B5%D0%B9%D1%82+%21'
    5     1*     > RETURN                                                   null

End of function testtreit

End of class Test.

Class Apple:
Function type:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5ibSN
function name:  type
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E > > RETURN                                                   'Apple'
   14     1*     > RETURN                                                   null

End of function type

Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5ibSN
function name:  __call
number of ops:  6
compiled vars:  !0 = $name, !1 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   16     2        INIT_FCALL                                               'call_user_func_array'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
   17     5      > RETURN                                                   null

End of function __call

End of class Apple.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.57 ms | 1395 KiB | 15 Q