PHP_CompatInfo
[ class tree: PHP_CompatInfo ] [ index: PHP_CompatInfo ] [ all elements ]

Class: PHP_CompatInfo_Cli

Source Location: /PHP_CompatInfo-1.1.1/CompatInfo/Cli.php

Class Overview

PHP_CompatInfo
   |
   --PHP_CompatInfo_Cli

CLI Script to Check Compatibility of chunk of PHP code


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • Copyright 2003 Davey Shafik and Synaptic Media. All Rights Reserved.

Variables

Methods


Inherited Variables

Inherited Methods

Class: PHP_CompatInfo

PHP_CompatInfo::parseArray()
Parse an Array of Files
PHP_CompatInfo::parseDir()
Parse a directory recursively for its Compatibility info
PHP_CompatInfo::parseFile()
Parse a file for its Compatibility info
PHP_CompatInfo::parseFolder()
Alias of parseDir
PHP_CompatInfo::parseString()
Parse a string for its Compatibility info

Class Details

[line 49]
CLI Script to Check Compatibility of chunk of PHP code

  1.  <?php
  2.      require_once 'PHP/CompatInfo/Cli.php';
  3.      $cli = new PHP_CompatInfo_Cli;
  4.      $cli->run();
  5.  ?>



[ Top ]


Class Variables

$debug =

[line 74]

  • Var: Whether to show debug output

Type:   boolean


[ Top ]

$dir =

[line 69]

  • Var: Directory to be Processed

Type:   string


[ Top ]

$error =  false

[line 59]

  • Var: Whether an error has occured

Type:   boolean


[ Top ]

$file =

[line 64]

  • Var: File to be Processed

Type:   string


[ Top ]

$opts = array()

[line 54]

  • Var: Current CLI Flags

Type:   array


[ Top ]

$recurse =  true

[line 79]

  • Var: Whether to recurse directories when using --dir or -d

Type:   boolean


[ Top ]



Method Detail

__construct (Constructor)   [line 84]

PHP_CompatInfo_Cli __construct( )

Constructor

[ Top ]

PHP_CompatInfo_Cli (Constructor)   [line 145]

PHP_CompatInfo_Cli PHP_CompatInfo_Cli( )

PHP4 Compatible Constructor

[ Top ]

run   [line 156]

void run( )

Run the CLI Script
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:42:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.