I am just beginning to learn PHP4 and want to know what program is the best to use to check the code for accuracy? I am using HTML Kit to write the code. Thank you.
Viper420
| SitePoint Sponsor |
I am just beginning to learn PHP4 and want to know what program is the best to use to check the code for accuracy? I am using HTML Kit to write the code. Thank you.
Viper420



i don't know of any such thing, just run it that shows you instantly what is wrong. Error reporting is not bad in php or so i have found anyway.





By checking for accuracy, what do you mean? for syntax error or for logic part of your code?
+ For lexical errors (like highlighting the keywords/functions), use some enhanced text editor, my favourite one is www.EditPlus.com
+ For parse errors, just upload and run it (or just run it use php binary), php will yell if there're any parse error.
+ About logical errors (like you expect to get 2 and you get 3), that's hard to catch these errors. One way is debugging (simplest: print out the result at different locations in your code and compare with what you have in mind)
Hope this helps![]()
- Son Nguyen
AdSpeed.com - Ad Serving and Ad Management Made Easy
Thank you for that link...I did mean syntax errors.
Viper420
Bookmarks