Re: [PEPr] Comment on Web Services::Service_Amazon_S3
| From: | till | Date: | Mon, 25 Feb 2008 18:26:15 +0000 |
| Subject: | Re: [PEPr] Comment on Web Services::Service_Amazon_S3 | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49192@lists.php.net to get a copy of this message | ||
On Mon, Feb 25, 2008 at 7:18 PM, Philippe Jausions
<Philippe.Jausions@11abacus.com> wrote:
> Till Klampaeckel wrote:
> > Till Klampaeckel (http://pear.php.net/user/till) has commented on the proposal for Web
> > Services::Service_Amazon_S3.
> >
> > Comment:
> >
>
> > For streams:
> > * I see you used trigger_error() in the streamwrapper, is it possible to
> > throw exceptions instead? Can't say I tried it and would know what happens.
> > Just a question, or maybe a configuration option.
>
> The stream API (for stream_open()) requests the trigger_error() with the
> STREAM_REPORT_ERRORS flag on. See
>
>http://www.php.net/manual/en/function.stream-wrapper-register.php
>
> BTW: I'd like to know how to force that flag to be on.
Interesting... probably:
stream_context_get_options()