Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Zend/zend_builtin_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion ext/dom/attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
14 changes: 7 additions & 7 deletions ext/dom/document.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion ext/dom/domconfiguration.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
*/
Expand Down
2 changes: 1 addition & 1 deletion ext/dom/domimplementation.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
*/
Expand Down
10 changes: 5 additions & 5 deletions ext/dom/element.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
14 changes: 7 additions & 7 deletions ext/dom/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
*/
Expand Down Expand Up @@ -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:
*/
Expand Down Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion ext/dom/text.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
6 changes: 3 additions & 3 deletions ext/dom/xpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion ext/enchant/enchant.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion ext/intl/locale/locale_methods.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ext/spl/php_spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions ext/standard/password.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
Loading