classes/phing/Phing.php
private static function initializeOutputStreams()
    {
        if (self::$out === null) {
            if (!defined('STDOUT')) {
                self::$out = new OutputStream(fopen('php://stdout', 'w'));
            } else {
                self::$out = new OutputStream(STDOUT);
            }
        }
        if (self::$err === null) {
            if (!defined('STDERR')) {
                self::$err = new OutputStream(fopen('php://stderr', 'w'));
            } else {
                self::$err = new OutputStream(STDERR);
            }
        }
    }
private static function initializeOutputStreams()
    {
        if (self::$out === null) {
            if (!defined('STDOUT')) {
                self::$out = new OutputStream(fopen('php://stdout', 'w'));
            } else {
                self::$out = new OutputStream(STDOUT);
            }
        }
        if (self::$err === null) {
            if (!defined('STDERR')) {
                self::$err = new OutputStream(fopen('php://stderr', 'w'));
            } else {
                self::$err = new OutputStream(STDERR);
            }
        }
    }
private static function initializeOutputStreams ( ) { if ( self :: $ out === null ) { if ( ! defined ( 'STDOUT' ) ) { self :: $ out = new OutputStream ( fopen ( 'php://stdout' , 'w' ) ) ; } else { self :: $ out = new OutputStream ( STDOUT ) ; } } if ( self :: $ err === null ) { if ( ! defined ( 'STDERR' ) ) { self :: $ err = new OutputStream ( fopen ( 'php://stderr' , 'w' ) ) ; } else { self :: $ err = new OutputStream ( STDERR ) ; } } }
Sets the stdout and stderr streams if they are not already set.
Sets the stdout and stderr streams if they are not already set .