3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function bar() { echo 'foo'; } } call_user_func_array('Foo::bar'); call_user_func_array(array('Foo', 'bar'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FJSZT
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'call_user_func_array'
          1        SEND_VAL                                                 'Foo%3A%3Abar'
          2        DO_ICALL                                                 
   12     3        INIT_FCALL                                               'call_user_func_array'
          4        SEND_VAL                                                 <array>
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Class Foo:
Function bar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FJSZT
function name:  bar
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'foo'
    8     1      > RETURN                                                   null

End of function bar

End of class Foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.01 ms | 1394 KiB | 15 Q