Last Modified: 04.05.2022
There are some situations, when a specific code must be executed quickly, calling the Bitrix Framework API functions without creating new pages at the site. In this case, a simple and convenient tool is available — PHP command line. It allows to launch arbitrary PHP code with function calls.
This tool is located in the site's Control Panel at the following path: Settings > Tools > PHP command line and has the address:
Here's how the result of executed code looks like, using the class functions CUser of the Main modules: