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

Class: PHP_CompatInfo_Cli

Source Location: /PHP_CompatInfo-1.7.0b4/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.7.0b4

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
PHP_CompatInfo::parseArray()
Parse an Array of Files
PHP_CompatInfo::parseDir()
Parse a directory
PHP_CompatInfo::parseFile()
Parse a single file
PHP_CompatInfo::parseFolder()
Alias of parseDir
PHP_CompatInfo::parseString()
Parse a string

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

$args =

[line 87]

  • Var: instance
  • Since: 1.4.0

Type:   object Console_Getargs


[ Top ]

$dir =

[line 81]

  • Var: Directory to be Processed
  • Since: 0.8.0

Type:   string


[ Top ]

$error =

[line 63]

  • Var: error message
  • Since: 0.8.0

Type:   string


[ Top ]

$file =

[line 75]

  • Var: File to be Processed
  • Since: 0.8.0

Type:   string


[ Top ]

$options = array()

[line 93]

  • Var: Current parser options
  • Since: 1.4.0

Type:   array


[ Top ]

$opts = array()

[line 57]

  • Var: Current CLI Flags
  • Since: 0.8.0

Type:   array


[ Top ]

$string =

[line 69]

  • Var: String to be Processed
  • Since: 1.6.0

Type:   string


[ Top ]



Method Detail

PHP_CompatInfo_Cli (Constructor)   [line 480]

PHP_CompatInfo_Cli PHP_CompatInfo_Cli( )

ZE1 PHP4 Compatible Constructor
  • Since: 0.8.0

[ Top ]

__construct (Constructor)   [line 107]

PHP_CompatInfo_Cli __construct( )

ZE2 Constructor
  • Since: 0.8.0

[ Top ]

isIncludable   [line 1428]

boolean isIncludable( string $file)

Returns whether or not a file is in the include path.
  • Return: TRUE if the file is in the include path, FALSE otherwise
  • Since: version 1.7.0b4 (2008-04-03)
  • Access: public

Parameters:

string   $file   —  Path to filename to check if includable

[ Top ]

run   [line 492]

void run( )

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

[ Top ]


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