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

Class: PHP_CompatInfo_Cli

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

Class Overview

PHP_CompatInfo
   |
   --PHP_CompatInfo_Cli

CLI Script to Check Compatibility of chunk of PHP code


Author(s):

Version:

  • Release: 1.3.0

Copyright:

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

Variables

Methods


Inherited Variables

Inherited Methods

Class: PHP_CompatInfo

PHP_CompatInfo::loadVersion()
Load components list for a PHP version or subset
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 51]
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 81]

  • Var: Whether to show debug output
  • Since: 0.8.0

Type:   boolean


[ Top ]

$dir =

[line 75]

  • Var: Directory to be Processed
  • Since: 0.8.0

Type:   string


[ Top ]

$error =  false

[line 63]

  • Var: Whether an error has occured
  • Since: 0.8.0

Type:   boolean


[ Top ]

$file =

[line 69]

  • Var: File to be Processed
  • Since: 0.8.0

Type:   string


[ Top ]

$opts = array()

[line 57]

  • Var: Current CLI Flags
  • Since: 0.8.0

Type:   array


[ Top ]

$recurse =  true

[line 87]

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

Type:   boolean


[ Top ]



Method Detail

PHP_CompatInfo_Cli (Constructor)   [line 151]

PHP_CompatInfo_Cli PHP_CompatInfo_Cli( )

ZE1 PHP4 Compatible Constructor
  • Since: 0.8.0

[ Top ]

__construct (Constructor)   [line 93]

PHP_CompatInfo_Cli __construct( )

ZE2 Constructor
  • Since: 0.8.0

[ Top ]

run   [line 163]

void run( )

Run the CLI Script
  • Since: 0.8.0
  • Access: public

[ Top ]


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