Re: Bison 3 support for PHP 5.5

From: Date: Thu, 29 May 2014 18:12:22 +0000
Subject: Re: Bison 3 support for PHP 5.5
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-74638@lists.php.net to get a copy of this message
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

« previous php.internals (#74638) next »