Posted by Umberto Salsi on 09/29/05 22:23
PHPLint is a parser and semantic validator of PHP programs. The
programmer can add to the source the PHPLint meta-code, that enhance the
syntax of the PHP language toward the paradigm of a strong-type language.
INTENDED AUDIENCE
Dedicated to all the programmers that appreciate the PHP language for
fast program development, but regret the safety that a strong typed
language may give.
FEATURES
+ Implements PHP 4 and PHP 5 classes.
+ Meta-code that implement C-style type declarations.
+ Strict type checking.
+ Structured array declarations.
+ Check of functions and methods signature.
+ Check usage of undefined constants/variables/function/classes/methods.
+ Check constants/functions/classes/properties/methods declared twice.
+ Check constants/variables/function/classes/methods declared but not used.
+ Check static access to non-static property/method and vice versa.
+ Check invalid nested comments.
+ Check invalid escape sequences in literal strings.
+ Check type-cast operators.
+ ...over 200 error messages and warnings.
STILL MISSING
- "Abstract" and "interface" classes.
- Tags <script, <%, <%=.
- "Here document": echo <<< EOT
- Old syntax of the control structures.
- ...some other less used features.
DOCUMENTATION
See the manual at http://www.icosaedro.it/phplint/index.html
AVAILABILITY
PHPLint is available in three forms:
+ original source code (require the M2 Language Development System)
http://www.icosaedro.it/phplint/index.html?p=theprogram
+ pure-C source code (require gcc)
http://www.icosaedro.it/phplint/index.html?p=theprogram
+ WEB page for on-line tests (require an Internet browser :-)
http://www.icosaedro.it/phplint/phplint-on-line.html
LICENSE
BSD-style.
Regards,
___
/_|_\ Umberto Salsi
\/_\/ www.icosaedro.it
[Back to original message]
|