3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Base { private function __call($a, $b){echo $a;array('s',b,k);} } $M=new Base; $M->__call('mimimi');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KjrMJ
function name:  (null)
number of ops:  7
compiled vars:  !0 = $M
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   NEW                                              $1      'Base'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   12     3        INIT_METHOD_CALL                                         !0, '__call'
          4        SEND_VAL_EX                                              'mimimi'
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class Base:
Function __call:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KjrMJ
function name:  __call
number of ops:  10
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        ECHO                                                     !0
          3        INIT_ARRAY                                       ~2      's'
          4        FETCH_CONSTANT                                   ~3      'b'
          5        ADD_ARRAY_ELEMENT                                ~2      ~3
          6        FETCH_CONSTANT                                   ~4      'k'
          7        ADD_ARRAY_ELEMENT                                ~2      ~4
          8        FREE                                                     ~2
          9      > RETURN                                                   null

End of function __call

End of class Base.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.44 ms | 1398 KiB | 13 Q