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

Class: PHP_CompatInfo_Cli

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

Class Overview


CLI Script to Check Compatibility of chunk of PHP code


Author(s):

Version:

  • Release: 1.9.0

Copyright:

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

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 70]
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

$dataSource =

[line 84]

Unified data source reference
  • Var: Directory, File or String to be processed
  • Since: 1.8.0b3

Type:   string


[ Top ]

$options = array()

[line 90]

  • Var: Current parser options
  • Since: 1.4.0

Type:   array


[ Top ]

$opts = array()

[line 76]

  • Var: Current CLI Flags
  • Since: 0.8.0

Type:   array


[ Top ]



Method Detail

PHP_CompatInfo_Cli (Constructor)   [line 229]

PHP_CompatInfo_Cli PHP_CompatInfo_Cli( )

Command-Line Class constructor

Command-Line Class constructor (ZE1) for PHP4

  • Since: version 0.8.0 (2004-04-22)

[ Top ]

__construct (Constructor)   [line 100]

PHP_CompatInfo_Cli __construct( )

Command-Line Class constructor

Command-Line Class constructor (ZE2) for PHP5+

  • Since: version 0.8.0 (2004-04-22)

[ Top ]

run   [line 243]

void run( )

Run the CLI version

Run the CLI version of PHP_CompatInfo

  • Since: version 0.8.0 (2004-04-22)
  • Access: public

[ Top ]


Documentation generated on Mon, 19 Jan 2009 05:30:22 -0500 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.