PHP Classes

Classes of Mike Gamble

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Mike Gamble (1)  >  Mission progress status  >  Reputation  
Picture of Mike Gamble
Name: Mike Gamble <contact> Mike Gamble Google profile
Classes: 1
Country: Brazil Brazil
Age: 59
All time rank: 3473270 in Brazil Brazil
Week rank: 180 Up12 in Brazil Brazil Up
All time users: 423
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image PHP Token Parser Engine  
PHP Programming Innovation award nominee
February 2014
Number 3


Prize: One copy of DWebPro Standard License
Parse PHP code to check if it matches syntax rules
This class can parse PHP code to check if it matches given syntax rules.

It can parse PHP scripts in a given directory or from a given PHP code string and obtain the PHP tokens that represent the parsed code.

The class check if the code matches given syntax rules defined as sequences of tokens read from a separate configuration file.

The rules may be used to detect if the parsed code is using malicious code hidden as function calls with names defined as variables.

It can also reformat the parsed PHP code and generate a new code version that may be more readable than the original.
Not enough user ratings


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z