public function start()
    {
		$this->_starttime = microtime(true);
        if (extension_loaded('xdebug') === false) {
            return false;
        }

        if (is_null($this->_traceFile) === true) {
            $this->_traceFile = tempnam(sys_get_temp_dir(), 'PHPConsistent_');
        }

        ini_set('xdebug.auto_trace', 1);
        ini_set('xdebug.trace_format', 1);
        ini_set('xdebug.collect_return', 1);
        ini_set('xdebug.collect_params', 1);
        ini_set('xdebug.trace_options', 0);
        xdebug_start_trace($this->_traceFile);

        if ($this->_log === self::LOG_TO_FIREPHP) {
            ob_start();
            break;
        }

        if ($this->_log !== self::LOG_TO_PHPUNIT) {
            register_shutdown_function(array($this, 'stop'));
            register_shutdown_function(array($this, 'analyze'));
        }

        return true;
    }
public function start()
    {
		$this->_starttime = microtime(true);
        if (extension_loaded('xdebug') === false) {
            return false;
        }

        if (is_null($this->_traceFile) === true) {
            $this->_traceFile = tempnam(sys_get_temp_dir(), 'PHPConsistent_');
        }

        ini_set('xdebug.auto_trace', 1);
        ini_set('xdebug.trace_format', 1);
        ini_set('xdebug.collect_return', 1);
        ini_set('xdebug.collect_params', 1);
        ini_set('xdebug.trace_options', 0);
        xdebug_start_trace($this->_traceFile);

        if ($this->_log === self::LOG_TO_FIREPHP) {
            ob_start();
            break;
        }

        if ($this->_log !== self::LOG_TO_PHPUNIT) {
            register_shutdown_function(array($this, 'stop'));
            register_shutdown_function(array($this, 'analyze'));
        }

        return true;
    }
public function start ( ) { $ this -> _starttime = microtime ( true ) ; if ( extension_loaded ( 'xdebug' ) === false ) { return false ; } if ( is_null ( $ this -> _traceFile ) === true ) { $ this -> _traceFile = tempnam ( sys_get_temp_dir ( ) , 'PHPConsistent_' ) ; } ini_set ( 'xdebug.auto_trace' , 1 ) ; ini_set ( 'xdebug.trace_format' , 1 ) ; ini_set ( 'xdebug.collect_return' , 1 ) ; ini_set ( 'xdebug.collect_params' , 1 ) ; ini_set ( 'xdebug.trace_options' , 0 ) ; xdebug_start_trace ( $ this -> _traceFile ) ; if ( $ this -> _log === self :: LOG_TO_FIREPHP ) { ob_start ( ) ; break ; } if ( $ this -> _log !== self :: LOG_TO_PHPUNIT ) { register_shutdown_function ( array ( $ this , 'stop' ) ) ; register_shutdown_function ( array ( $ this , 'analyze' ) ) ; } return true ; }
Start PHPConsistent run
Start PHPConsistent run