mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Unicode support
This commit is contained in:
parent
6b98cc4ef5
commit
21c1109e0c
42 changed files with 432 additions and 440 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue