Use bool instead of boolean in proto

This commit is contained in:
Gabriel Caruso 2018-02-04 05:44:28 -02:00 committed by Nikita Popov
parent 0709eb80f3
commit affc20f891
17 changed files with 69 additions and 69 deletions

View file

@ -778,7 +778,7 @@ static void copy_constant_array(zval *dst, zval *src) /* {{{ */
}
/* }}} */
/* {{{ proto bool define(string constant_name, mixed value[, boolean case_insensitive])
/* {{{ proto bool define(string constant_name, mixed value[, bool case_insensitive])
Define a new constant */
ZEND_FUNCTION(define)
{

View file

@ -220,7 +220,7 @@ int dom_attr_schema_type_info_read(dom_object *obj, zval *retval)
/* }}} */
/* {{{ proto boolean dom_attr_is_id()
/* {{{ proto bool dom_attr_is_id()
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-isId
Since: DOM Level 3
*/

View file

@ -967,7 +967,7 @@ PHP_FUNCTION(dom_document_get_elements_by_tag_name)
}
/* }}} end dom_document_get_elements_by_tag_name */
/* {{{ proto DOMNode dom_document_import_node(DOMNode importedNode, boolean deep)
/* {{{ proto DOMNode dom_document_import_node(DOMNode importedNode, bool deep)
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Core-Document-importNode
Since: DOM Level 2
*/
@ -1758,7 +1758,7 @@ PHP_FUNCTION(dom_document_xinclude)
}
/* }}} */
/* {{{ proto boolean dom_document_validate()
/* {{{ proto bool dom_document_validate()
Since: DOM extended
*/
PHP_FUNCTION(dom_document_validate)
@ -1880,14 +1880,14 @@ static void _dom_document_schema_validate(INTERNAL_FUNCTION_PARAMETERS, int type
}
/* }}} */
/* {{{ proto boolean dom_document_schema_validate_file(string filename, int flags); */
/* {{{ proto bool dom_document_schema_validate_file(string filename, int flags); */
PHP_FUNCTION(dom_document_schema_validate_file)
{
_dom_document_schema_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_FILE);
}
/* }}} end dom_document_schema_validate_file */
/* {{{ proto boolean dom_document_schema_validate(string source, int flags); */
/* {{{ proto bool dom_document_schema_validate(string source, int flags); */
PHP_FUNCTION(dom_document_schema_validate_xml)
{
_dom_document_schema_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_STRING);
@ -1973,14 +1973,14 @@ static void _dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAMETERS, int typ
}
/* }}} */
/* {{{ proto boolean dom_document_relaxNG_validate_file(string filename); */
/* {{{ proto bool dom_document_relaxNG_validate_file(string filename); */
PHP_FUNCTION(dom_document_relaxNG_validate_file)
{
_dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_FILE);
}
/* }}} end dom_document_relaxNG_validate_file */
/* {{{ proto boolean dom_document_relaxNG_validate_xml(string source); */
/* {{{ proto bool dom_document_relaxNG_validate_xml(string source); */
PHP_FUNCTION(dom_document_relaxNG_validate_xml)
{
_dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_STRING);
@ -2229,7 +2229,7 @@ PHP_FUNCTION(dom_document_save_html)
#endif /* defined(LIBXML_HTML_ENABLED) */
/* {{{ proto boolean DOMDocument::registerNodeClass(string baseclass, string extendedclass)
/* {{{ proto bool DOMDocument::registerNodeClass(string baseclass, string extendedclass)
Register extended class used to create base node type */
PHP_METHOD(domdocument, registerNodeClass)
{

View file

@ -79,7 +79,7 @@ PHP_FUNCTION(dom_domconfiguration_get_parameter)
}
/* }}} end dom_domconfiguration_get_parameter */
/* {{{ proto boolean dom_domconfiguration_can_set_parameter(string name, domuserdata value);
/* {{{ proto bool dom_domconfiguration_can_set_parameter(string name, domuserdata value);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-canSetParameter
Since:
*/

View file

@ -64,7 +64,7 @@ const zend_function_entry php_dom_domimplementation_class_functions[] = {
PHP_FE_END
};
/* {{{ proto boolean dom_domimplementation_has_feature(string feature, string version);
/* {{{ proto bool dom_domimplementation_has_feature(string feature, string version);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-5CED94D7
Since:
*/

View file

@ -1070,7 +1070,7 @@ PHP_FUNCTION(dom_element_get_elements_by_tag_name_ns)
}
/* }}} end dom_element_get_elements_by_tag_name_ns */
/* {{{ proto boolean dom_element_has_attribute(string name);
/* {{{ proto bool dom_element_has_attribute(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttr
Since: DOM Level 2
*/
@ -1098,7 +1098,7 @@ PHP_FUNCTION(dom_element_has_attribute)
}
/* }}} end dom_element_has_attribute */
/* {{{ proto boolean dom_element_has_attribute_ns(string namespaceURI, string localName);
/* {{{ proto bool dom_element_has_attribute_ns(string namespaceURI, string localName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttrNS
Since: DOM Level 2
*/
@ -1155,7 +1155,7 @@ static void php_set_attribute_id(xmlAttrPtr attrp, zend_bool is_id) /* {{{ */
}
/* }}} */
/* {{{ proto void dom_element_set_id_attribute(string name, boolean isId);
/* {{{ proto void dom_element_set_id_attribute(string name, bool isId);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttr
Since: DOM Level 3
*/
@ -1191,7 +1191,7 @@ PHP_FUNCTION(dom_element_set_id_attribute)
}
/* }}} end dom_element_set_id_attribute */
/* {{{ proto void dom_element_set_id_attribute_ns(string namespaceURI, string localName, boolean isId);
/* {{{ proto void dom_element_set_id_attribute_ns(string namespaceURI, string localName, bool isId);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNS
Since: DOM Level 3
*/
@ -1227,7 +1227,7 @@ PHP_FUNCTION(dom_element_set_id_attribute_ns)
}
/* }}} end dom_element_set_id_attribute_ns */
/* {{{ proto void dom_element_set_id_attribute_node(attr idAttr, boolean isId);
/* {{{ proto void dom_element_set_id_attribute_node(attr idAttr, bool isId);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNode
Since: DOM Level 3
*/

View file

@ -1321,7 +1321,7 @@ PHP_FUNCTION(dom_node_append_child)
}
/* }}} end dom_node_append_child */
/* {{{ proto boolean dom_node_has_child_nodes();
/* {{{ proto bool dom_node_has_child_nodes();
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-810594187
Since:
*/
@ -1349,7 +1349,7 @@ PHP_FUNCTION(dom_node_has_child_nodes)
}
/* }}} end dom_node_has_child_nodes */
/* {{{ proto DomNode dom_node_clone_node(boolean deep);
/* {{{ proto DomNode dom_node_clone_node(bool deep);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3A0ED0A4
Since:
*/
@ -1431,7 +1431,7 @@ PHP_FUNCTION(dom_node_normalize)
}
/* }}} end dom_node_normalize */
/* {{{ proto boolean dom_node_is_supported(string feature, string version);
/* {{{ proto bool dom_node_is_supported(string feature, string version);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Level-2-Core-Node-supports
Since: DOM Level 2
*/
@ -1453,7 +1453,7 @@ PHP_FUNCTION(dom_node_is_supported)
}
/* }}} end dom_node_is_supported */
/* {{{ proto boolean dom_node_has_attributes();
/* {{{ proto bool dom_node_has_attributes();
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeHasAttrs
Since: DOM Level 2
*/
@ -1490,7 +1490,7 @@ PHP_FUNCTION(dom_node_compare_document_position)
}
/* }}} end dom_node_compare_document_position */
/* {{{ proto boolean dom_node_is_same_node(DomNode other);
/* {{{ proto bool dom_node_is_same_node(DomNode other);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isSameNode
Since: DOM Level 3
*/
@ -1567,7 +1567,7 @@ PHP_FUNCTION(dom_node_lookup_prefix)
}
/* }}} end dom_node_lookup_prefix */
/* {{{ proto boolean dom_node_is_default_namespace(string namespaceURI);
/* {{{ proto bool dom_node_is_default_namespace(string namespaceURI);
URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-isDefaultNamespace
Since: DOM Level 3
*/
@ -1634,7 +1634,7 @@ PHP_FUNCTION(dom_node_lookup_namespace_uri)
}
/* }}} end dom_node_lookup_namespace_uri */
/* {{{ proto boolean dom_node_is_equal_node(DomNode arg);
/* {{{ proto bool dom_node_is_equal_node(DomNode arg);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isEqualNode
Since: DOM Level 3
*/

View file

@ -194,7 +194,7 @@ PHP_FUNCTION(dom_text_split_text)
}
/* }}} end dom_text_split_text */
/* {{{ proto boolean dom_text_is_whitespace_in_element_content()
/* {{{ proto bool dom_text_is_whitespace_in_element_content()
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-isWhitespaceInElementContent
Since: DOM Level 3
*/

View file

@ -308,7 +308,7 @@ int dom_xpath_document_read(dom_object *obj, zval *retval)
}
/* }}} */
/* {{{ proto boolean dom_xpath_register_ns(string prefix, string uri) */
/* {{{ proto bool dom_xpath_register_ns(string prefix, string uri) */
PHP_FUNCTION(dom_xpath_register_ns)
{
zval *id;
@ -490,14 +490,14 @@ static void php_xpath_eval(INTERNAL_FUNCTION_PARAMETERS, int type) /* {{{ */
}
/* }}} */
/* {{{ proto DOMNodeList dom_xpath_query(string expr [,DOMNode context [, boolean registerNodeNS]]) */
/* {{{ proto DOMNodeList dom_xpath_query(string expr [,DOMNode context [, bool registerNodeNS]]) */
PHP_FUNCTION(dom_xpath_query)
{
php_xpath_eval(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_DOM_XPATH_QUERY);
}
/* }}} end dom_xpath_query */
/* {{{ proto mixed dom_xpath_evaluate(string expr [,DOMNode context [, boolean registerNodeNS]]) */
/* {{{ proto mixed dom_xpath_evaluate(string expr [,DOMNode context [, bool registerNodeNS]]) */
PHP_FUNCTION(dom_xpath_evaluate)
{
php_xpath_eval(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_DOM_XPATH_EVALUATE);

View file

@ -372,7 +372,7 @@ PHP_FUNCTION(enchant_broker_init)
}
/* }}} */
/* {{{ proto boolean enchant_broker_free(resource broker)
/* {{{ proto bool enchant_broker_free(resource broker)
Destroys the broker object and its dictionnaries */
PHP_FUNCTION(enchant_broker_free)
{

View file

@ -1242,7 +1242,7 @@ static int strToMatch(const char* str ,char *retstr)
* Checks if a $langtag filter matches with $locale according to RFC 4647's basic filtering algorithm
*/
/* }}} */
/* {{{ proto boolean locale_filter_matches(string $langtag, string $locale[, bool $canonicalize])
/* {{{ proto bool locale_filter_matches(string $langtag, string $locale[, bool $canonicalize])
* Checks if a $langtag filter matches with $locale according to RFC 4647's basic filtering algorithm
*/
PHP_FUNCTION(locale_filter_matches)

View file

@ -80,7 +80,7 @@ static zend_class_entry * spl_find_ce_by_name(zend_string *name, zend_bool autol
return ce;
}
/* {{{ proto array class_parents(object instance [, boolean autoload = true])
/* {{{ proto array class_parents(object instance [, bool autoload = true])
Return an array containing the names of all parent classes */
PHP_FUNCTION(class_parents)
{

View file

@ -212,7 +212,7 @@ PHP_FUNCTION(password_get_info)
}
/** }}} */
/* {{{ proto boolean password_needs_rehash(string $hash, int $algo[, array $options])
/* {{{ proto bool password_needs_rehash(string $hash, int $algo[, array $options])
Determines if a given hash requires re-hashing based upon parameters */
PHP_FUNCTION(password_needs_rehash)
{
@ -286,7 +286,7 @@ PHP_FUNCTION(password_needs_rehash)
}
/* }}} */
/* {{{ proto boolean password_verify(string password, string hash)
/* {{{ proto bool password_verify(string password, string hash)
Verify a hash created using crypt() or password_hash() */
PHP_FUNCTION(password_verify)
{

View file

@ -930,7 +930,7 @@ PHP_FUNCTION(ltrim)
}
/* }}} */
/* {{{ proto string wordwrap(string str [, int width [, string break [, boolean cut]]])
/* {{{ proto string wordwrap(string str [, int width [, string break [, bool cut]]])
Wraps buffer to selected number of characters using string break char */
PHP_FUNCTION(wordwrap)
{

View file

@ -1255,7 +1255,7 @@ static PHP_FUNCTION(tidy_get_output)
}
/* }}} */
/* {{{ proto boolean tidy_parse_file(string file [, mixed config_options [, string encoding [, bool use_include_path]]])
/* {{{ proto bool tidy_parse_file(string file [, mixed config_options [, string encoding [, bool use_include_path]]])
Parse markup in file or URI */
static PHP_FUNCTION(tidy_parse_file)
{
@ -1296,7 +1296,7 @@ static PHP_FUNCTION(tidy_parse_file)
}
/* }}} */
/* {{{ proto boolean tidy_clean_repair()
/* {{{ proto bool tidy_clean_repair()
Execute configured cleanup and repair operations on parsed markup */
static PHP_FUNCTION(tidy_clean_repair)
{
@ -1311,7 +1311,7 @@ static PHP_FUNCTION(tidy_clean_repair)
}
/* }}} */
/* {{{ proto boolean tidy_repair_string(string data [, mixed config_file [, string encoding]])
/* {{{ proto bool tidy_repair_string(string data [, mixed config_file [, string encoding]])
Repair a string using an optionally provided configuration file */
static PHP_FUNCTION(tidy_repair_string)
{
@ -1319,7 +1319,7 @@ static PHP_FUNCTION(tidy_repair_string)
}
/* }}} */
/* {{{ proto boolean tidy_repair_file(string filename [, mixed config_file [, string encoding [, bool use_include_path]]])
/* {{{ proto bool tidy_repair_file(string filename [, mixed config_file [, string encoding [, bool use_include_path]]])
Repair a file using an optionally provided configuration file */
static PHP_FUNCTION(tidy_repair_file)
{
@ -1327,7 +1327,7 @@ static PHP_FUNCTION(tidy_repair_file)
}
/* }}} */
/* {{{ proto boolean tidy_diagnose()
/* {{{ proto bool tidy_diagnose()
Run configured diagnostics on parsed and repaired markup. */
static PHP_FUNCTION(tidy_diagnose)
{
@ -1459,7 +1459,7 @@ static PHP_FUNCTION(tidy_get_html_ver)
}
/* }}} */
/* {{{ proto boolean tidy_is_xhtml()
/* {{{ proto bool tidy_is_xhtml()
Indicates if the document is a XHTML document. */
static PHP_FUNCTION(tidy_is_xhtml)
{
@ -1469,7 +1469,7 @@ static PHP_FUNCTION(tidy_is_xhtml)
}
/* }}} */
/* {{{ proto boolean tidy_is_xml()
/* {{{ proto bool tidy_is_xml()
Indicates if the document is a generic (non HTML/XHTML) XML document. */
static PHP_FUNCTION(tidy_is_xml)
{
@ -1717,7 +1717,7 @@ static PHP_FUNCTION(tidy_get_body)
}
/* }}} */
/* {{{ proto boolean tidyNode::hasChildren()
/* {{{ proto bool tidyNode::hasChildren()
Returns true if this node has children */
static TIDY_NODE_METHOD(hasChildren)
{
@ -1731,7 +1731,7 @@ static TIDY_NODE_METHOD(hasChildren)
}
/* }}} */
/* {{{ proto boolean tidyNode::hasSiblings()
/* {{{ proto bool tidyNode::hasSiblings()
Returns true if this node has siblings */
static TIDY_NODE_METHOD(hasSiblings)
{
@ -1745,7 +1745,7 @@ static TIDY_NODE_METHOD(hasSiblings)
}
/* }}} */
/* {{{ proto boolean tidyNode::isComment()
/* {{{ proto bool tidyNode::isComment()
Returns true if this node represents a comment */
static TIDY_NODE_METHOD(isComment)
{
@ -1759,7 +1759,7 @@ static TIDY_NODE_METHOD(isComment)
}
/* }}} */
/* {{{ proto boolean tidyNode::isHtml()
/* {{{ proto bool tidyNode::isHtml()
Returns true if this node is part of a HTML document */
static TIDY_NODE_METHOD(isHtml)
{
@ -1773,7 +1773,7 @@ static TIDY_NODE_METHOD(isHtml)
}
/* }}} */
/* {{{ proto boolean tidyNode::isText()
/* {{{ proto bool tidyNode::isText()
Returns true if this node represents text (no markup) */
static TIDY_NODE_METHOD(isText)
{
@ -1787,7 +1787,7 @@ static TIDY_NODE_METHOD(isText)
}
/* }}} */
/* {{{ proto boolean tidyNode::isJste()
/* {{{ proto bool tidyNode::isJste()
Returns true if this node is JSTE */
static TIDY_NODE_METHOD(isJste)
{
@ -1801,7 +1801,7 @@ static TIDY_NODE_METHOD(isJste)
}
/* }}} */
/* {{{ proto boolean tidyNode::isAsp()
/* {{{ proto bool tidyNode::isAsp()
Returns true if this node is ASP */
static TIDY_NODE_METHOD(isAsp)
{
@ -1815,7 +1815,7 @@ static TIDY_NODE_METHOD(isAsp)
}
/* }}} */
/* {{{ proto boolean tidyNode::isPhp()
/* {{{ proto bool tidyNode::isPhp()
Returns true if this node is PHP */
static TIDY_NODE_METHOD(isPhp)
{

View file

@ -529,7 +529,7 @@ static void php_xmlreader_set_relaxng_schema(INTERNAL_FUNCTION_PARAMETERS, int t
}
/* }}} */
/* {{{ proto boolean XMLReader::close()
/* {{{ proto bool XMLReader::close()
Closes xmlreader - current frees resources until xmlTextReaderClose is fixed in libxml */
PHP_METHOD(xmlreader, close)
{
@ -612,7 +612,7 @@ PHP_METHOD(xmlreader, getAttributeNs)
}
/* }}} */
/* {{{ proto boolean XMLReader::getParserProperty(int property)
/* {{{ proto bool XMLReader::getParserProperty(int property)
Indicates whether given property (one of the parser option constants) is set or not on parser */
PHP_METHOD(xmlreader, getParserProperty)
{
@ -640,7 +640,7 @@ PHP_METHOD(xmlreader, getParserProperty)
}
/* }}} */
/* {{{ proto boolean XMLReader::isValid()
/* {{{ proto bool XMLReader::isValid()
Returns boolean indicating if parsed document is valid or not.
Must set XMLREADER_LOADDTD or XMLREADER_VALIDATE parser option prior to the first call to read
or this method will always return FALSE */
@ -658,7 +658,7 @@ PHP_METHOD(xmlreader, lookupNamespace)
}
/* }}} */
/* {{{ proto boolean XMLReader::moveToAttribute(string name)
/* {{{ proto bool XMLReader::moveToAttribute(string name)
Positions reader at specified attribute - Returns TRUE on success and FALSE on failure */
PHP_METHOD(xmlreader, moveToAttribute)
{
@ -691,7 +691,7 @@ PHP_METHOD(xmlreader, moveToAttribute)
}
/* }}} */
/* {{{ proto boolean XMLReader::moveToAttributeNo(int index)
/* {{{ proto bool XMLReader::moveToAttributeNo(int index)
Positions reader at attribute at specified index.
Returns TRUE on success and FALSE on failure */
PHP_METHOD(xmlreader, moveToAttributeNo)
@ -719,7 +719,7 @@ PHP_METHOD(xmlreader, moveToAttributeNo)
}
/* }}} */
/* {{{ proto boolean XMLReader::moveToAttributeNs(string name, string namespaceURI)
/* {{{ proto bool XMLReader::moveToAttributeNs(string name, string namespaceURI)
Positions reader at attribute spcified by name and namespaceURI.
Returns TRUE on success and FALSE on failure */
PHP_METHOD(xmlreader, moveToAttributeNs)
@ -753,7 +753,7 @@ PHP_METHOD(xmlreader, moveToAttributeNs)
}
/* }}} */
/* {{{ proto boolean XMLReader::moveToElement()
/* {{{ proto bool XMLReader::moveToElement()
Moves the position of the current instance to the node that contains the current Attribute node. */
PHP_METHOD(xmlreader, moveToElement)
{
@ -761,7 +761,7 @@ PHP_METHOD(xmlreader, moveToElement)
}
/* }}} */
/* {{{ proto boolean XMLReader::moveToFirstAttribute()
/* {{{ proto bool XMLReader::moveToFirstAttribute()
Moves the position of the current instance to the first attribute associated with the current node. */
PHP_METHOD(xmlreader, moveToFirstAttribute)
{
@ -769,7 +769,7 @@ PHP_METHOD(xmlreader, moveToFirstAttribute)
}
/* }}} */
/* {{{ proto boolean XMLReader::moveToNextAttribute()
/* {{{ proto bool XMLReader::moveToNextAttribute()
Moves the position of the current instance to the next attribute associated with the current node. */
PHP_METHOD(xmlreader, moveToNextAttribute)
{
@ -777,7 +777,7 @@ PHP_METHOD(xmlreader, moveToNextAttribute)
}
/* }}} */
/* {{{ proto boolean XMLReader::read()
/* {{{ proto bool XMLReader::read()
Moves the position of the current instance to the next node in the stream. */
PHP_METHOD(xmlreader, read)
{
@ -801,7 +801,7 @@ PHP_METHOD(xmlreader, read)
}
/* }}} */
/* {{{ proto boolean XMLReader::next([string localname])
/* {{{ proto bool XMLReader::next([string localname])
Moves the position of the current instance to the next node in the stream. */
PHP_METHOD(xmlreader, next)
{
@ -843,7 +843,7 @@ PHP_METHOD(xmlreader, next)
}
/* }}} */
/* {{{ proto boolean XMLReader::open(string URI [, string encoding [, int options]])
/* {{{ proto bool XMLReader::open(string URI [, string encoding [, int options]])
Sets the URI that the XMLReader will parse. */
PHP_METHOD(xmlreader, open)
{
@ -916,7 +916,7 @@ PHP_METHOD(xmlreader, readInnerXml)
}
/* }}} */
/* {{{ proto boolean XMLReader::readOuterXml()
/* {{{ proto bool XMLReader::readOuterXml()
Reads the contents of the current node, including child nodes and markup. */
PHP_METHOD(xmlreader, readOuterXml)
{
@ -924,7 +924,7 @@ PHP_METHOD(xmlreader, readOuterXml)
}
/* }}} */
/* {{{ proto boolean XMLReader::readString()
/* {{{ proto bool XMLReader::readString()
Reads the contents of an element or a text node as a string. */
PHP_METHOD(xmlreader, readString)
{
@ -932,7 +932,7 @@ PHP_METHOD(xmlreader, readString)
}
/* }}} */
/* {{{ proto boolean XMLReader::setSchema(string filename)
/* {{{ proto bool XMLReader::setSchema(string filename)
Use W3C XSD schema to validate the document as it is processed. Activation is only possible before the first Read(). */
PHP_METHOD(xmlreader, setSchema)
{
@ -975,7 +975,7 @@ PHP_METHOD(xmlreader, setSchema)
/* }}} */
#endif
/* {{{ proto boolean XMLReader::setParserProperty(int property, boolean value)
/* {{{ proto bool XMLReader::setParserProperty(int property, bool value)
Sets parser property (one of the parser option constants).
Properties must be set after open() or XML() and before the first read() is called */
PHP_METHOD(xmlreader, setParserProperty)
@ -1005,7 +1005,7 @@ PHP_METHOD(xmlreader, setParserProperty)
}
/* }}} */
/* {{{ proto boolean XMLReader::setRelaxNGSchema(string filename)
/* {{{ proto bool XMLReader::setRelaxNGSchema(string filename)
Sets the string that the XMLReader will parse. */
PHP_METHOD(xmlreader, setRelaxNGSchema)
{
@ -1013,7 +1013,7 @@ PHP_METHOD(xmlreader, setRelaxNGSchema)
}
/* }}} */
/* {{{ proto boolean XMLReader::setRelaxNGSchemaSource(string source)
/* {{{ proto bool XMLReader::setRelaxNGSchemaSource(string source)
Sets the string that the XMLReader will parse. */
PHP_METHOD(xmlreader, setRelaxNGSchemaSource)
{
@ -1027,7 +1027,7 @@ XMLPUBFUN int XMLCALL
xmlSchemaPtr schema);
*/
/* {{{ proto boolean XMLReader::XML(string source [, string encoding [, int options]])
/* {{{ proto bool XMLReader::XML(string source [, string encoding [, int options]])
Sets the string that the XMLReader will parse. */
PHP_METHOD(xmlreader, XML)
{
@ -1113,7 +1113,7 @@ PHP_METHOD(xmlreader, XML)
}
/* }}} */
/* {{{ proto boolean XMLReader::expand()
/* {{{ proto bool XMLReader::expand()
Moves the position of the current instance to the next node in the stream. */
PHP_METHOD(xmlreader, expand)
{

View file

@ -26,7 +26,7 @@
#include "php_cli_process_title.h"
#include "ps_title.h"
/* {{{ proto boolean cli_set_process_title(string arg)
/* {{{ proto bool cli_set_process_title(string arg)
Return a boolean to confirm if the process title was successfully changed or not */
PHP_FUNCTION(cli_set_process_title)
{