3v4l.org

run code in 300+ PHP versions simultaneously
<?php class B { } class G extends B { function __call($name, $arguments) { var_dump('G');} function f4missing($a) { B::f4missing(5); // __call checking happened at B } } $g = new G(); $g->f4missing(3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pSmFr
function name:  (null)
number of ops:  7
compiled vars:  !0 = $g
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   NEW                                              $1      'G'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   12     3        INIT_METHOD_CALL                                         !0, 'f4missing'
          4        SEND_VAL_EX                                              3
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class B: [no user functions]
Class G:
Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pSmFr
function name:  __call
number of ops:  6
compiled vars:  !0 = $name, !1 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        INIT_FCALL                                               'var_dump'
          3        SEND_VAL                                                 'G'
          4        DO_ICALL                                                 
          5      > RETURN                                                   null

End of function __call

Function f4missing:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pSmFr
function name:  f4missing
number of ops:  5
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        INIT_STATIC_METHOD_CALL                                  'B', 'f4missing'
          2        SEND_VAL_EX                                              5
          3        DO_FCALL                                      0          
    9     4      > RETURN                                                   null

End of function f4missing

End of class G.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.37 ms | 1395 KiB | 15 Q