Unicode support

This commit is contained in:
Dmitry Stogov 2005-08-12 11:29:33 +00:00
parent 6b98cc4ef5
commit 21c1109e0c
42 changed files with 432 additions and 440 deletions

View file

@ -50,8 +50,8 @@ PHP_METHOD(domentityreference, __construct)
char *name;
int name_len, name_valid;
php_set_error_handling(EH_THROW, dom_domexception_class_entry TSRMLS_CC);
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_entityreference_class_entry, &name, &name_len) == FAILURE) {
php_set_error_handling(EH_THROW, U_CLASS_ENTRY(dom_domexception_class_entry) TSRMLS_CC);
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, U_CLASS_ENTRY(dom_entityreference_class_entry), &name, &name_len) == FAILURE) {
php_std_error_handling();
return;
}