Syntax validation via php -l Follow
Hi.
Is it somehow possible to validate the current PHP file by calling "php -l <filename>" from inside the IDE by just pressing a shortcut and then redirecting the output to a window?
Maybe by using "Tools/ Run command", but is there a placeholder for the current filename?
Thanks, Tom
Please sign in to leave a comment.
Hi Thomas,
You need External Tools functionality (Settings | External Tools):
Once such entry is created, you can later access it from multiple locations via context menus .. or assign custom shortcut in "Settings | Keymap | External Tools"
Super, thanks Andriy!