cvs: pear /PHP_CompatInfo/docs/examples cliCustom.php
| From: | Laurent Laville | Date: | Sat, 02 Sep 2006 10:24:35 +0000 |
| Subject: | cvs: pear /PHP_CompatInfo/docs/examples cliCustom.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-41954@lists.php.net to get a copy of this message | ||
farell Sat Sep 2 10:24:35 2006 UTC
Added files:
/pear/PHP_CompatInfo/docs/examples cliCustom.php
Log:
new example to demonstrates options (split and glue) of CLI version to customize output
http://cvs.php.net/viewvc.cgi/pear/PHP_CompatInfo/docs/examples/cliCustom.php?view=markup&rev=1.1
Index: pear/PHP_CompatInfo/docs/examples/cliCustom.php
+++ pear/PHP_CompatInfo/docs/examples/cliCustom.php
<?php
/**
* How to cutomize CLI output version. Requires at least version 1.3.1
*
* @version $Id: cliCustom.php,v 1.1 2006/09/02 10:24:35 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
* @package PHP_CompatInfo
* @access public
* @ignore
*/
require_once 'PHP/CompatInfo/Cli.php';
// split filename to 30 char. max and continuation char. is +
$cli = new PHP_CompatInfo_Cli(30, '+');
$cli->run();
?>