/************************* EXTENSION FUNCTIONS *************************/
-/* {{{ proto int xml_parser_create([string encoding])
+/* {{{ proto resource xml_parser_create([string encoding])
Create an XML parser */
PHP_FUNCTION(xml_parser_create)
{
}
/* }}} */
-/* {{{ proto int xml_parser_create_ns([string encoding [, string sep]])
+/* {{{ proto resource xml_parser_create_ns([string encoding [, string sep]])
Create an XML parser */
PHP_FUNCTION(xml_parser_create_ns)
{
}
/* }}} */
-/* {{{ proto int xml_set_object(int pind, object &obj)
+/* {{{ proto int xml_set_object(resource parser, object &obj)
Set up object which should be used for callbacks */
PHP_FUNCTION(xml_set_object)
{
}
/* }}} */
-/* {{{ proto int xml_set_element_handler(int pind, string shdl, string ehdl)
+/* {{{ proto int xml_set_element_handler(resource parser, string shdl, string ehdl)
Set up start and end element handlers */
PHP_FUNCTION(xml_set_element_handler)
{
}
/* }}} */
-/* {{{ proto int xml_set_character_data_handler(int pind, string hdl)
+/* {{{ proto int xml_set_character_data_handler(resource parser, string hdl)
Set up character data handler */
PHP_FUNCTION(xml_set_character_data_handler)
{
}
/* }}} */
-/* {{{ proto int xml_set_processing_instruction_handler(int pind, string hdl)
+/* {{{ proto int xml_set_processing_instruction_handler(resource parser, string hdl)
Set up processing instruction (PI) handler */
PHP_FUNCTION(xml_set_processing_instruction_handler)
{
}
/* }}} */
-/* {{{ proto int xml_set_default_handler(int pind, string hdl)
+/* {{{ proto int xml_set_default_handler(resource parser, string hdl)
Set up default handler */
PHP_FUNCTION(xml_set_default_handler)
{
}
/* }}} */
-/* {{{ proto int xml_set_unparsed_entity_decl_handler(int pind, string hdl)
+/* {{{ proto int xml_set_unparsed_entity_decl_handler(resource parser, string hdl)
Set up unparsed entity declaration handler */
PHP_FUNCTION(xml_set_unparsed_entity_decl_handler)
{
}
/* }}} */
-/* {{{ proto int xml_set_notation_decl_handler(int pind, string hdl)
+/* {{{ proto int xml_set_notation_decl_handler(resource parser, string hdl)
Set up notation declaration handler */
PHP_FUNCTION(xml_set_notation_decl_handler)
{
}
/* }}} */
-/* {{{ proto int xml_set_external_entity_ref_handler(int pind, string hdl)
+/* {{{ proto int xml_set_external_entity_ref_handler(resource parser, string hdl)
Set up external entity reference handler */
PHP_FUNCTION(xml_set_external_entity_ref_handler)
{
}
/* }}} */
-/* {{{ proto int xml_set_start_namespace_decl_handler(int pind, string hdl)
+/* {{{ proto int xml_set_start_namespace_decl_handler(resource parser, string hdl)
Set up character data handler */
PHP_FUNCTION(xml_set_start_namespace_decl_handler)
{
}
/* }}} */
-/* {{{ proto int xml_set_end_namespace_decl_handler(int pind, string hdl)
+/* {{{ proto int xml_set_end_namespace_decl_handler(resource parser, string hdl)
Set up character data handler */
PHP_FUNCTION(xml_set_end_namespace_decl_handler)
{
}
/* }}} */
-/* {{{ proto int xml_parse(int pind, string data [, int isFinal])
+/* {{{ proto int xml_parse(resource parser, string data [, int isFinal])
Start parsing an XML document */
PHP_FUNCTION(xml_parse)
{
/* }}} */
-/* {{{ proto int xml_parse_into_struct(int pind, string data, array &struct, array &index)
+/* {{{ proto int xml_parse_into_struct(resource parser, string data, array &struct, array &index)
Parsing a XML document */
PHP_FUNCTION(xml_parse_into_struct)
}
/* }}} */
-/* {{{ proto int xml_get_error_code(int pind)
+/* {{{ proto int xml_get_error_code(resource parser)
Get XML parser error code */
PHP_FUNCTION(xml_get_error_code)
{
}
/* }}} */
-/* {{{ proto int xml_get_current_line_number(int pind)
+/* {{{ proto int xml_get_current_line_number(resource parser)
Get current line number for an XML parser */
PHP_FUNCTION(xml_get_current_line_number)
{
}
/* }}} */
-/* {{{ proto int xml_get_current_column_number(int pind)
+/* {{{ proto int xml_get_current_column_number(resource parser)
Get current column number for an XML parser */
PHP_FUNCTION(xml_get_current_column_number)
{
}
/* }}} */
-/* {{{ proto int xml_get_current_byte_index(int pind)
+/* {{{ proto int xml_get_current_byte_index(resource parser)
Get current byte index for an XML parser */
PHP_FUNCTION(xml_get_current_byte_index)
{
}
/* }}} */
-/* {{{ proto int xml_parser_free(int pind)
+/* {{{ proto int xml_parser_free(resource parser)
Free an XML parser */
PHP_FUNCTION(xml_parser_free)
{
}
/* }}} */
-/* {{{ proto int xml_parser_set_option(int pind, int option, mixed value)
+/* {{{ proto int xml_parser_set_option(resource parser, int option, mixed value)
Set options in an XML parser */
PHP_FUNCTION(xml_parser_set_option)
{
}
/* }}} */
-/* {{{ proto int xml_parser_get_option(int pind, int option)
+/* {{{ proto int xml_parser_get_option(resource parser, int option)
Get options from an XML parser */
PHP_FUNCTION(xml_parser_get_option)
{