[PHP-DEV] [Help] Reason on when to declare and protect ZEND_API function

2022-01-20 Thread Su, Tao
Hello internals, I am trying to read Zend header files to understand its functional interfaces, but have got confusion and anybody knows why zend_startup_system_id() and zend_finalize_system_id() do not have to be protected by BEGIN_EXTERN_C()/END_EXTERN_C() enclosure, but zend_add_system_entropy

[PHP-DEV] PHP 8.0.15 Released

2022-01-20 Thread Gabriel Caruso
The PHP development team announces the immediate availability of PHP 8.0.15. This is a bugfix release. All PHP 8.0 users are encouraged to upgrade to this version. For source downloads of PHP 8.0.15 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The li

Re: [PHP-DEV] [Help] Reason on when to declare and protect ZEND_API function

2022-01-20 Thread Levi Morrison via internals
On Thu, Jan 20, 2022 at 1:56 AM Su, Tao wrote: > > Hello internals, > > I am trying to read Zend header files to understand its functional interfaces, > but have got confusion and anybody knows why zend_startup_system_id() and > zend_finalize_system_id() > do not have to be protected by BEGIN_EXT

RE: [PHP-DEV] [Help] Reason on when to declare and protect ZEND_API function

2022-01-20 Thread Su, Tao
> On Thu, Jan 20, 2022 at 1:56 AM Su, Tao wrote: > > > > Hello internals, > > > > I am trying to read Zend header files to understand its functional > > interfaces, > > but have got confusion and anybody knows why zend_startup_system_id() > and zend_finalize_system_id() > > do not have to be prot

[PHP-DEV] PHP 8.1.2 Released

2022-01-20 Thread Ben Ramsey
The PHP development team announces the immediate availability of PHP 8.1.2. This is a bugfix release. All PHP 8.1 users are encouraged to upgrade to this version. For source downloads of PHP 8.1.2 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The list