|
Posted by Umberto Salsi on 11/06/05 20:25
PHPLint is a validator and a documentator 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-typed language and safe
programming.
NEW IN THIS VERSION
+ The PHPLint Documentator, an automatic source documentator similar to
PHPDoc and PHPDocumentator, but with the important difference that
PHPLint Documentator takes full advantage from its special meta-code
and from the parsing stage.
+ Recursive parsing of "require_once". You specify a program, and all the
required packages are automatically parsed, recursively.
+ The PHP built-in extensions required (called "modules" by PHPLint)
must now be specified explicitly through the meta-code instruction
require_modules 'MODULE_NAME'; This feature should simplify the
deployment of the applications toward servers that lack some extensions.
+ See http://www.icosaedro.it/phplint/manual.html?p=changes for more.
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.
OTHER FEATURES
+ Implements PHP 4 and PHP 5 classes.
+ General syntax check.
+ Meta-code that implement C-style type declarations.
+ Strict type checking.
+ Structured array declarations.
+ Check 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 forbidden access to protected/private class property/method.
+ 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, <%, <%=.
- Old syntax of the control structures.
- ...some other less used features.
AVAILABILITY
PHPLint is available either as M2 source (it requires the M2 Development
System), as a pure-C source resulting from the M2-to-C cross compiler
(it requires a C compiler), and as an on-line WEB interface.
PHPLint WEB SITE
http://www.icosaedro.it/phplint/index.html
LICENSE
BSD-style.
Regards,
___
/_|_\ Umberto Salsi
\/_\/ www.icosaedro.it
Navigation:
[Reply to this message]
|