3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Base { public function __call($name,array $params) { echo $name; //throw "fuckoff"; } } class A extends Base { public function Launch() { echo "Launch<BR>"; var_dump(get_class($this)); } } $A = new A; A->somestrange(); A->Launch(); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/81eOk
function name:  (null)
number of ops:  10
compiled vars:  !0 = $A
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   NEW                                              $1      'A'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   23     3        FETCH_CONSTANT                                   ~4      'A'
          4        INIT_METHOD_CALL                                         ~4, 'somestrange'
          5        DO_FCALL                                      0          
   25     6        FETCH_CONSTANT                                   ~6      'A'
          7        INIT_METHOD_CALL                                         ~6, 'Launch'
          8        DO_FCALL                                      0          
   27     9      > RETURN                                                   1

Class Base:
Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/81eOk
function name:  __call
number of ops:  4
compiled vars:  !0 = $name, !1 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    7     2        ECHO                                                     !0
    9     3      > RETURN                                                   null

End of function __call

End of class Base.

Class A:
Function launch:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/81eOk
function name:  Launch
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ECHO                                                     'Launch%3CBR%3E'
   17     1        INIT_FCALL                                               'var_dump'
          2        FETCH_THIS                                       ~0      
          3        GET_CLASS                                        ~1      ~0
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                                 
   18     6      > RETURN                                                   null

End of function launch

Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/81eOk
function name:  __call
number of ops:  4
compiled vars:  !0 = $name, !1 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    7     2        ECHO                                                     !0
    9     3      > RETURN                                                   null

End of function __call

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.95 ms | 1396 KiB | 15 Q