[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-internals
Subject:    Re: [PHP-DEV] Bison 3 support for PHP 5.5
From:       Stas Malyshev <smalyshev () sugarcrm ! com>
Date:       2014-05-29 18:12:22
Message-ID: 53877886.60603 () sugarcrm ! com
[Download RAW message or body]

Hi!

> I'd also suggest that perhaps in >= 5.6, those functions shouldn't
> even be exported as part of the public API. In php-src, they're
> basically treated as internal implementation details. zenderror and
> zendlex are only ever called directly from the parser, and zendparse
> is only ever called directly from the compile_(file|filename)
> functions in the scanner. (That doesn't mean they aren't called from
> external modules, but there's a lot of setup and teardown you have to
> do besides, so it'd certainly be a quite advanced use. Does anyone
> know if those functions actually are used by pecl or other
> third-party modules?)

I think this is reasonable, though making them inaccessible to modules
compiled with PHP would not be possible, I think. But none of those seem
to be suited for external consumption, so I think it's OK to make them
more private.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic