Hi!
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?
OK, so there is two places where errors are kept - global error state
and local error state for each object. When error happens, if we have an
object we set both objects' state and global state, when we don't have
object, only global state. Plural functions set both object's state and
global state. Singular functions set only one state, specified by err,
which is global if err is NULL.
--
Stanislav Malyshev, Zend Software Architect
s...@zend.com http://www.zend.com/
(408)253-8829 MSN: s...@zend.com
--
PHP Unicode & I18N Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php