| // +----------------------------------------------------------------------+ // // $Id$ /** * Replace commandline constants * * @category PHP * @package PHP_Compat * @link http://php.net/features.commandline * @author Aidan Lister * @version $Revision: 1.9 $ * @since PHP 4.3.0 */ if (!defined('STDIN')) { define('STDIN', fopen('php://stdin', 'r')); } if (!defined('STDOUT')) { define('STDOUT', fopen('php://stdout', 'w')); } if (!defined('STDERR')) { define('STDERR', fopen('php://stderr', 'w')); } ?>