3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MUR { private static function soudayo($option) { return "そうだよ({$option})"; } public static function test() { $name = 'self::soudayo'; echo $name('便乗'); // そうだよ(便乗) } } call_user_func('MUR::test');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0Gpnj
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_USER_CALL                                0          'call_user_func', 'MUR%3A%3Atest'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class MUR:
Function soudayo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0Gpnj
function name:  soudayo
number of ops:  6
compiled vars:  !0 = $option
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        ROPE_INIT                                     3  ~2      '%E3%81%9D%E3%81%86%E3%81%A0%E3%82%88%EF%BC%88'
          2        ROPE_ADD                                      1  ~2      ~2, !0
          3        ROPE_END                                      2  ~1      ~2, '%EF%BC%89'
          4      > RETURN                                                   ~1
    6     5*     > RETURN                                                   null

End of function soudayo

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0Gpnj
function name:  test
number of ops:  6
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                   !0, 'self%3A%3Asoudayo'
    9     1        INIT_DYNAMIC_CALL                                        !0
          2        SEND_VAL_EX                                              '%E4%BE%BF%E4%B9%97'
          3        DO_FCALL                                      0  $2      
          4        ECHO                                                     $2
   10     5      > RETURN                                                   null

End of function test

End of class MUR.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.33 ms | 1394 KiB | 13 Q