intl 1.0.3: Trying to understand the internal error functions
| From: | Hans-Peter Oeri | Date: | Sun, 20 Dec 2009 19:21:49 +0000 |
| Subject: | intl 1.0.3: Trying to understand the internal error functions | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-1337@lists.php.net to get a copy of this message | ||
Hi!
intl_error.h defines common error handling functions and "global"
variables - in addition to those in the respective objects.
In order to "synchronize" global and individual errors, there are three
functions (plural of error):
intl_errors_reset
intl_errors_set_custom_msg
intl_errors_set_code
However, the first and the third are NEVER referenced. The second is
only used in connection with intl_error_set_code (note singular error!)
All this seems not to add up. Are there any docs available somewhere?
HPO