Hi! > Thanks. As I'm new to php-src, it takes some time to understand this kind of > (undocumented?) conventions. I know it's a tedious task, but I'd really enjoy > a > few comments for the Zend API functions.
As Johannes mentioned, function marked "static" is a standard C feature saying "this function is internal, do not try to use it from outside". API functions are marked ZEND_API or PHP_API, you are not supposed to use any functions not marked so in your extension unless they also belong to the extension. > This is something you wrote on github, but I took the liberty to insert it > here > as it is related. I thought `zend_parse_arg()` could be a substitute of your > `zend_parse_single_arg()`. It cannot be. So, is it worth adding this function > to the API? My own answer is yes, of course, but it does count much. No, existing functions do not allow doing that, since they are written as internal ones and thus rely on certain way of doing things. We'd need to do some wrapper or refactoring there. -- 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