function __construct($filename, $mode = 'a', $encoding = null, $delay = 0) { $this->baseFilename = realpath($filename); $this->mode = $mode; $this->delay = $delay; if ($delay) { Handler::__construct(); $this->stream = null; } else { parent::__construct($this->_open()); } }