Re: [PATCH] Deprecate use of stdio
| From: | Rasmus Lerdorf | Date: | Fri, 02 May 2003 16:38:31 +0000 |
| Subject: | Re: [PATCH] Deprecate use of stdio | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1167@lists.php.net to get a copy of this message | ||
Something for 4.3.3 or do you fear the stability of these changes? I
would consider the fact that PHP barely works on Solaris a rather large
bug and have no problem seeing this as a bug fix. My ulterior motive is
of course that we lose the stupid stdio buffer-size stat() call which I
could sorely use in the current 4.3 tree.
-Rasmus
On Fri, 2 May 2003, Sascha Schumann wrote:
> On Fri, 2 May 2003, Wez Furlong wrote:
>
> > +1 from me, but we need to make an extra effort to stress test the
> > lexer (the ini file parser as well as the language parser) in our QA
> > process.
>
> In our what?
>
> A patched PHP inside of thttpd does not show any anomalies
> after 100K ab requests:
>
> test.php:
>
> <?php
>
> require "bar";
> include "foo";
> include "notthere";
>
> bar:
>
> <?echo "hi";
>
> foo:
>
> <?phpinfo();
>
> As I mentioned earlier, including from URLs appears to be
> broken even without my patches (we could call that a security
> feature).
>
> > Also, for the sake of binary compatibility (not sure just how much of an
> > issue this is here), its "nicer" to add the zend_open function pointer
> > to the end of the utility functions structure, rather than in the
> > middle.
>
> Moved. It would only affect applications which statically
> initialize the structure.
>
> - Sascha
>
>