3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract 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/ovsrj
function name:  (null)
number of ops:  10
compiled vars:  !0 = $A
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   NEW                                              $1      'A'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   22     3        FETCH_CONSTANT                                   ~4      'A'
          4        INIT_METHOD_CALL                                         ~4, 'somestrange'
          5        DO_FCALL                                      0          
   24     6        FETCH_CONSTANT                                   ~6      'A'
          7        INIT_METHOD_CALL                                         ~6, 'Launch'
          8        DO_FCALL                                      0          
   26     9      > RETURN                                                   1

Class Base:
Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/ovsrj
function name:  __call
number of ops:  5
compiled vars:  !0 = $name, !1 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    6     2        ECHO                                                     !0
    7     3      > THROW                                         0          'fuckoff'
    8     4*     > 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/ovsrj
function name:  Launch
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   ECHO                                                     'Launch%3CBR%3E'
   16     1        INIT_FCALL                                               'var_dump'
          2        FETCH_THIS                                       ~0      
          3        GET_CLASS                                        ~1      ~0
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                                 
   17     6      > RETURN                                                   null

End of function launch

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

End of function __call

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.63 ms | 1396 KiB | 15 Q