Login   Register  
PHP Classes
elePHPant
Icontem

Syntax Check: Check the syntax of PHP scripts

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Eper Kalman
Name: Eper Kalman <e-mail contact>
Packages: 10 Browse all classes by Eper Kalman Browse all classes by
Country: Serbia Serbia - PHP jobs in Serbia
Age: 38
All time rank: 7915 in Serbia Serbia
Week rank: 192 Up2 in Serbia Serbia Up
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download Download .zip .tar.gz  
This class can check the syntax of PHP scripts.

It can traverse a given directory recursively to find files with the .php syntax.

The class can execute the PHP command line program version to check if the syntax of each of the PHP scripts that were found.

  Classes of Eper Kalman  >  Syntax Check  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Syntax Check
Base name: syntax-check
Description: Check the syntax of PHP scripts
Version: 1.0
PHP version: 5
License: MIT/X Consortium License
All time users: 405 users
All time rank: 5726
Week users: 1 user
Week rank: 1792 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Testing Tools to help verifying that software works as expected View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
December 2012
Number 8

Prize: One downloadable e-book of choice by O'Reilly
Sometimes it is necessary to make changes in PHP applications, eventually to fix bugs and other issues.

Ideally the changed code should go through a series of tests to make sure the changes do not break any aspect of the applications functionality.

However, sometimes there is not much time to go through extensive tests. Often the changes are too small to expect major functionality breaking.

Still it is prudent to make sure that you are not breaking your code due to small syntax mistakes.

In that case the changed code should go at least through minimal testing that assures that the syntax of the code is not broken.

The PHP command line version program supports a lint mode that can do basic syntax checking without executing the code.

This class acts as a wrapper to perform such test using this feature of the PHP command line version command.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example script
Plain text file SyntaxCheck.class.php Class main class

Download Download all files: syntax-check.tar.gz syntax-check.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.