src/S3/StreamWrapper.php
private function triggerError($errors, $flags = null)
    {
        // This is triggered with things like file_exists()
        if ($flags & STREAM_URL_STAT_QUIET) {
            return $flags & STREAM_URL_STAT_LINK
                // This is triggered for things like is_link()
                ? $this->formatUrlStat(false)
                : false;
        }

        // This is triggered when doing things like lstat() or stat()
        trigger_error(implode("\n", (array) $errors), E_USER_WARNING);

        return false;
    }
private function triggerError($errors, $flags = null)
    {
        // This is triggered with things like file_exists()
        if ($flags & STREAM_URL_STAT_QUIET) {
            return $flags & STREAM_URL_STAT_LINK
                // This is triggered for things like is_link()
                ? $this->formatUrlStat(false)
                : false;
        }

        // This is triggered when doing things like lstat() or stat()
        trigger_error(implode("\n", (array) $errors), E_USER_WARNING);

        return false;
    }
private function triggerError ( $ errors , $ flags = null ) { // This is triggered with things like file_exists() if ( $ flags & STREAM_URL_STAT_QUIET ) { return $ flags & STREAM_URL_STAT_LINK // This is triggered for things like is_link() ? $ this -> formatUrlStat ( false ) : false ; } // This is triggered when doing things like lstat() or stat() trigger_error ( implode ( "\n" , ( array ) $ errors ) , E_USER_WARNING ) ; return false ; }
Trigger one or more errors

@param string|array $errors Errors to trigger
@param mixed        $flags  If set to STREAM_URL_STAT_QUIET, then no
error or exception occurs

@return bool Returns false
@throws \RuntimeException if throw_errors is true
Trigger one or more errors