3v4l.org

run code in 500+ PHP versions simultaneously
<?php declare(strict_types = 1); class MyTwigRuntime { public function myMethod(): string { return 'not important'; } } $cb = [MyTwigRuntime::class, 'myMethod']; $cb();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tWqPs
function name:  (null)
number of ops:  4
compiled vars:  !0 = $cb
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                       !0, <array>
   11     1        INIT_DYNAMIC_CALL                                            !0
          2        DO_FCALL                                          0          
          3      > RETURN                                                       1

Class MyTwigRuntime:
Function mymethod:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tWqPs
function name:  myMethod
number of ops:  3
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                       'not+important'
    7     1*       VERIFY_RETURN_TYPE                                           
          2*     > RETURN                                                       null

End of function mymethod

End of class MyTwigRuntime.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
214.93 ms | 2786 KiB | 8 Q