Re: [RFC] Script only include/require
| From: | Yasuo Ohgaki | Date: | Mon, 23 Feb 2015 06:53:31 +0000 |
| Subject: | Re: [RFC] Script only include/require | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83547@lists.php.net to get a copy of this message | ||
Hi all, Zend engine experts especially,
On Mon, Feb 23, 2015 at 6:23 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> I wrote patch and made adjustment in the RFC
> https://wiki.php.net/rfc/script_only_include
> https://github.com/php/php-src/pull/1111
> Where to check filename extension is subject to be changed.
> At first, I thought implementing this as PHP code is good, but
> I've changed my mind. It seems better to be done in Zend code.
> Opinions are appreciated.
>
I noticed very strange behavior under ZTS build with this patch.
It turned out that compiler_globals is not accessible under ZTS build
according to gdb.
Is this intended? If so, where should I put script_extensions char array?
Thank you.
--
Yasuo Ohgaki
yohgaki@ohgaki.net