3v4l.org

run code in 300+ PHP versions simultaneously
<?php class StaticTest { public function test() { echo 'Works fine!'; } } call_user_func_array( 'StaticTest::test', [] );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/irrel
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_USER_CALL                                0          'call_user_func_array', 'StaticTest%3A%3Atest'
          1        SEND_ARRAY                                               <array>
          2        CHECK_UNDEF_ARGS                                         
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class StaticTest:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/irrel
function name:  test
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ECHO                                                     'Works+fine%21'
    6     1      > RETURN                                                   null

End of function test

End of class StaticTest.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.75 ms | 1392 KiB | 13 Q