3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Base { public function __call($n,array$p) { echo __METHOD__.' says: '.$n; } } $M=new Base;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iibrO
function name:  (null)
number of ops:  4
compiled vars:  !0 = $M
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $1      'Base'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
          3      > RETURN                                                   1

Class Base:
Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iibrO
function name:  __call
number of ops:  5
compiled vars:  !0 = $n, !1 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    7     2        CONCAT                                           ~2      'Base%3A%3A__call+says%3A+', !0
          3        ECHO                                                     ~2
    8     4      > RETURN                                                   null

End of function __call

End of class Base.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.14 ms | 1393 KiB | 13 Q