On 14 Aug 2014, at 03:13, Aaron Lewis <the.warl0ck.1...@gmail.com> wrote:
> I'm trying to print error messages in zend, so I add a function in > zend_API.{h,c} > > Then I got and error: > /Zend/zend_API.c:3226: undefined reference to `php_error_docref > > So, what's the appropriate function to use? zend_error_docref doesn’t exist, I believe the convention is to use zend_error (of which php_error is an alias). Also, you ought to consider going to IRC (I like irc://irc.efnet.org/#php.pecl myself) or somewhere with these sorts of small, quickly answerable questions to avoid spamming the list. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php