Execute php in Elgg page plugin

Hello I am new to the forum, and wanted to know how could run code in the plugin php "page" of elgg.
Would greatly appreciate someone help me with this problem, because when I try to insert PHP code, I read it as a comment.
And I do not run anything.

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking