Hi,
I have just added PHP syntax checking to my PrimalScript and though I'd share how:
Download the version of PHP you require from www.php.netI chose the ZIP version of 4.4.4 because that what running on the server I'm working on.
Unzip the contents to C:php-4.4.4-Win32 (or somewhere else if you like but remember where you put it).
Goto
Tools > Options > Environment > Languages
and choose PHP.
Choose Compile / Syntax check
Browse for the php.exe program you just downloaded
In Arguments: add
-l "$File$"
thats: hiphen lower case L at the beggining, not a one. The quotes are there in case there is a space in the file path of your script.
Hit OK to save.
Hit CTRL-F7 in your script to check the syntax.
Maybe the developers can use this to add live syntax checking?
Regards
Ian
--
Howto add syntax checking for PHP
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.