mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix data types
This commit is contained in:
parent
c6ff5be09d
commit
5d035b57ee
1 changed files with 3 additions and 3 deletions
|
@ -382,7 +382,7 @@ int dom_document_standalone_read(dom_object *obj, zval *retval)
|
|||
int dom_document_standalone_write(dom_object *obj, zval *newval)
|
||||
{
|
||||
xmlDoc *docp = (xmlDocPtr) dom_object_get_node(obj);
|
||||
int standalone;
|
||||
zend_long standalone;
|
||||
|
||||
if (docp == NULL) {
|
||||
php_dom_throw_error(INVALID_STATE_ERR, 0);
|
||||
|
@ -978,9 +978,9 @@ PHP_FUNCTION(dom_document_import_node)
|
|||
xmlNodePtr nodep, retnodep;
|
||||
dom_object *intern, *nodeobj;
|
||||
int ret;
|
||||
zend_long recursive = 0;
|
||||
zend_bool recursive = 0;
|
||||
|
||||
if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "OO|l", &id, dom_document_class_entry, &node, dom_node_class_entry, &recursive) == FAILURE) {
|
||||
if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "OO|b", &id, dom_document_class_entry, &node, dom_node_class_entry, &recursive) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue