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

Class: PHP_CompatInfo_Cli

Source Location: /PHP_CompatInfo-1.0.0RC5/CompatInfo/Cli.php

Class Overview

PHP_CompatInfo
   |
   --PHP_CompatInfo_Cli

CLI Script to Check Compatibility of chunk of PHP code


Author(s):

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 46]
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.  ?>

  • Author: Davey Shafik <davey@php.net>
  • Copyright: Copyright 2003 Davey Shafik and Synaptic Media. All Rights Reserved.
  • Example: example not found


[ Top ]


Class Variables

$debug =

[line 76]

  • Var: Whether to show debug output

Type:   boolean


[ Top ]

$dir =

[line 70]

  • Var: Directory to be Processed

Type:   string


[ Top ]

$error =  false

[line 58]

  • Var: Whether an error has occured

Type:   boolean


[ Top ]

$file =

[line 64]

  • Var: File to be Processed

Type:   string


[ Top ]

$opts = array()

[line 52]

  • Var: Current CLI Flags

Type:   array


[ Top ]

$recurse =  true

[line 82]

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

Type:   boolean


[ Top ]



Method Detail

__construct (Constructor)   [line 88]

PHP_CompatInfo_Cli __construct( )

Constructor

[ Top ]

PHP_CompatInfo_Cli (Constructor)   [line 149]

PHP_CompatInfo_Cli PHP_CompatInfo_Cli( )

PHP4 Compatible Constructor

[ Top ]

run   [line 160]

void run( )

Run the CLI Script
  • Access: public

[ Top ]


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