diff --git a/lib/php/lib/Transport/TPhpStream.php b/lib/php/lib/Transport/TPhpStream.php index ff741ffe67a..a185b291f28 100644 --- a/lib/php/lib/Transport/TPhpStream.php +++ b/lib/php/lib/Transport/TPhpStream.php @@ -54,13 +54,13 @@ public function __construct($mode) public function open() { if ($this->read_) { - $this->inStream_ = @fopen(self::inStreamName(), 'r'); + $this->inStream_ = fopen(self::inStreamName(), 'r'); if (!is_resource($this->inStream_)) { throw new TException('TPhpStream: Could not open php://input'); } } if ($this->write_) { - $this->outStream_ = @fopen('php://output', 'w'); + $this->outStream_ = fopen('php://output', 'w'); if (!is_resource($this->outStream_)) { throw new TException('TPhpStream: Could not open php://output'); }