[php-src] Issue #15954: Expand/improve docs (https://php.github.io/php-src/)

From: Date: Thu, 19 Sep 2024 01:03:34 +0000
Subject: [php-src] Issue #15954: Expand/improve docs (https://php.github.io/php-src/)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247831@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/15954 Author: DanielEScherzer ### Description Having recently started contributing to PHP, I have found that I frequently needed to look through a bunch of different source files to figure out how different macros/types/patterns are used. I propose expanding https://php.github.io/php-src/ to better document these, to make things easier for new (and hopefully also existing?) contributors. I'm happy to work on writing the documentation if it would be accepted, and some initial points that I suggest documenting are - parameter parsing and function declaration (lots of zend_API.h stuff) - the compatibility macros/debug tools/compiler hints (zend_portability.h) - data structures other than zval and zend_string, like class entries, properties, constants, and methods (zend_compile.h) - globals and the interaction with thread safety (zend_globals.h, zend_globals_macros.h) - arrays/HashTable (zend_types.h, zend_hash.h) And there are probably a whole bunch of other areas that I just haven't run into

« previous php.bugs (#247831) next »