Could someone refer me to an online PHP validator? It would be of much help.
Thanks in advance!
This question is related to
php
validation
syntax-checking
In case you're interested, an offline checker that does complicated type analysis: http://strongphp.org It is not online however.
I found this for online php validation:-
http://www.icosaedro.it/phplint/phplint-on-line.html
Hope this helps.
Here is a similar question to yours. (Practically the same.)
What ways are there to validate PHP code?
Edit
The top answer there suggest this resource:
http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/v4/syntax-check.php
Ther's a new php code check online:
Here's one more for you that not only performs the php -l
check for you, but also does some secondary analysis for mistakes that would not be considered invalid (e.g. declaring a variable with a double equal sign).
Here is also a good and simple site to check your php codes and share your code with fiends :
http://phpcodechecker.com/ performs syntax check and a custom check for common errors.
I'm a novice, but it helped me.
Source: Stackoverflow.com