Hi,
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?
--
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
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_docrefSo, 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/