Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Umberto Salsi
November 6, 2005, 6:25 pm
rate this thread
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
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.
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.
+ 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.
- "Abstract" and "interface" classes.
- Tags <script, <%, <%=.
- Old syntax of the control structures.
- ...some other less used features.
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
/_|_\ Umberto Salsi