3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Magic; class Hello { public static function world($x) { var_dump($x); } } namespace Wunderland; use Magic\Hello; call_user_func(['Hello', 'world'], 'foobar');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rb72e
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_NS_FCALL_BY_NAME                                    'Wunderland%5Ccall_user_func'
          1        SEND_VAL_EX                                              <array>
          2        SEND_VAL_EX                                              'foobar'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class Magic\Hello:
Function world:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rb72e
function name:  world
number of ops:  5
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    9     1        INIT_NS_FCALL_BY_NAME                                    'Magic%5Cvar_dump'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
   10     4      > RETURN                                                   null

End of function world

End of class Magic\Hello.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
129.56 ms | 1398 KiB | 17 Q