I'm new to PHP so perhaps this is a silly question but are there validators for PHP as there are for HTML?
If so any suggestions for an on-line one?
When you execute your pages the PHP parser itself will inform you of any syntax errors. Not sure what kind of validation you would be looking for otherwise.
Tim Frank
Textpad (www.textpad.com) has syntax highlighting functionality that can do this on some level, of course Time is right in that the parser will do this too.. If the PHP isn't correct, the script will throw errors.
Ok, thanks.
Is it easy to crash anything by using bad PHP?!
Infinte loops have been known to take down a few things... or at least run your CPU usage through the roof 🙂
But the php parser give most of the time not very clear messages. So I validator is better. Who knows one(again)?
"Infinte loops have been known to take down a few things... or at least run your CPU usage through the roof 🙂 "
yep - i've done that a few times. rofl