OnExecute In this menu is entered the PHP code that will be executed by the application. OnExecute. OnExecute : This event allows to entry PHP commands, JavaScript, CSS, HTML, ScriptCase macros and libraries.