@@ -999,7 +999,7 @@ void _xml_endNamespaceDeclHandler(void *userData, const XML_Char *prefix)
999
999
1000
1000
/************************* EXTENSION FUNCTIONS *************************/
1001
1001
1002
- /* {{{ proto int xml_parser_create([string encoding])
1002
+ /* {{{ proto resource xml_parser_create([string encoding])
1003
1003
Create an XML parser */
1004
1004
PHP_FUNCTION (xml_parser_create )
1005
1005
{
@@ -1050,7 +1050,7 @@ PHP_FUNCTION(xml_parser_create)
1050
1050
}
1051
1051
/* }}} */
1052
1052
1053
- /* {{{ proto int xml_parser_create_ns([string encoding [, string sep]])
1053
+ /* {{{ proto resource xml_parser_create_ns([string encoding [, string sep]])
1054
1054
Create an XML parser */
1055
1055
PHP_FUNCTION (xml_parser_create_ns )
1056
1056
{
@@ -1108,7 +1108,7 @@ PHP_FUNCTION(xml_parser_create_ns)
1108
1108
}
1109
1109
/* }}} */
1110
1110
1111
- /* {{{ proto int xml_set_object(int pind , object &obj)
1111
+ /* {{{ proto int xml_set_object(resource parser , object &obj)
1112
1112
Set up object which should be used for callbacks */
1113
1113
PHP_FUNCTION (xml_set_object )
1114
1114
{
@@ -1145,7 +1145,7 @@ PHP_FUNCTION(xml_set_object)
1145
1145
}
1146
1146
/* }}} */
1147
1147
1148
- /* {{{ proto int xml_set_element_handler(int pind , string shdl, string ehdl)
1148
+ /* {{{ proto int xml_set_element_handler(resource parser , string shdl, string ehdl)
1149
1149
Set up start and end element handlers */
1150
1150
PHP_FUNCTION (xml_set_element_handler )
1151
1151
{
@@ -1166,7 +1166,7 @@ PHP_FUNCTION(xml_set_element_handler)
1166
1166
}
1167
1167
/* }}} */
1168
1168
1169
- /* {{{ proto int xml_set_character_data_handler(int pind , string hdl)
1169
+ /* {{{ proto int xml_set_character_data_handler(resource parser , string hdl)
1170
1170
Set up character data handler */
1171
1171
PHP_FUNCTION (xml_set_character_data_handler )
1172
1172
{
@@ -1185,7 +1185,7 @@ PHP_FUNCTION(xml_set_character_data_handler)
1185
1185
}
1186
1186
/* }}} */
1187
1187
1188
- /* {{{ proto int xml_set_processing_instruction_handler(int pind , string hdl)
1188
+ /* {{{ proto int xml_set_processing_instruction_handler(resource parser , string hdl)
1189
1189
Set up processing instruction (PI) handler */
1190
1190
PHP_FUNCTION (xml_set_processing_instruction_handler )
1191
1191
{
@@ -1204,7 +1204,7 @@ PHP_FUNCTION(xml_set_processing_instruction_handler)
1204
1204
}
1205
1205
/* }}} */
1206
1206
1207
- /* {{{ proto int xml_set_default_handler(int pind , string hdl)
1207
+ /* {{{ proto int xml_set_default_handler(resource parser , string hdl)
1208
1208
Set up default handler */
1209
1209
PHP_FUNCTION (xml_set_default_handler )
1210
1210
{
@@ -1222,7 +1222,7 @@ PHP_FUNCTION(xml_set_default_handler)
1222
1222
}
1223
1223
/* }}} */
1224
1224
1225
- /* {{{ proto int xml_set_unparsed_entity_decl_handler(int pind , string hdl)
1225
+ /* {{{ proto int xml_set_unparsed_entity_decl_handler(resource parser , string hdl)
1226
1226
Set up unparsed entity declaration handler */
1227
1227
PHP_FUNCTION (xml_set_unparsed_entity_decl_handler )
1228
1228
{
@@ -1241,7 +1241,7 @@ PHP_FUNCTION(xml_set_unparsed_entity_decl_handler)
1241
1241
}
1242
1242
/* }}} */
1243
1243
1244
- /* {{{ proto int xml_set_notation_decl_handler(int pind , string hdl)
1244
+ /* {{{ proto int xml_set_notation_decl_handler(resource parser , string hdl)
1245
1245
Set up notation declaration handler */
1246
1246
PHP_FUNCTION (xml_set_notation_decl_handler )
1247
1247
{
@@ -1259,7 +1259,7 @@ PHP_FUNCTION(xml_set_notation_decl_handler)
1259
1259
}
1260
1260
/* }}} */
1261
1261
1262
- /* {{{ proto int xml_set_external_entity_ref_handler(int pind , string hdl)
1262
+ /* {{{ proto int xml_set_external_entity_ref_handler(resource parser , string hdl)
1263
1263
Set up external entity reference handler */
1264
1264
PHP_FUNCTION (xml_set_external_entity_ref_handler )
1265
1265
{
@@ -1277,7 +1277,7 @@ PHP_FUNCTION(xml_set_external_entity_ref_handler)
1277
1277
}
1278
1278
/* }}} */
1279
1279
1280
- /* {{{ proto int xml_set_start_namespace_decl_handler(int pind , string hdl)
1280
+ /* {{{ proto int xml_set_start_namespace_decl_handler(resource parser , string hdl)
1281
1281
Set up character data handler */
1282
1282
PHP_FUNCTION (xml_set_start_namespace_decl_handler )
1283
1283
{
@@ -1296,7 +1296,7 @@ PHP_FUNCTION(xml_set_start_namespace_decl_handler)
1296
1296
}
1297
1297
/* }}} */
1298
1298
1299
- /* {{{ proto int xml_set_end_namespace_decl_handler(int pind , string hdl)
1299
+ /* {{{ proto int xml_set_end_namespace_decl_handler(resource parser , string hdl)
1300
1300
Set up character data handler */
1301
1301
PHP_FUNCTION (xml_set_end_namespace_decl_handler )
1302
1302
{
@@ -1315,7 +1315,7 @@ PHP_FUNCTION(xml_set_end_namespace_decl_handler)
1315
1315
}
1316
1316
/* }}} */
1317
1317
1318
- /* {{{ proto int xml_parse(int pind , string data [, int isFinal])
1318
+ /* {{{ proto int xml_parse(resource parser , string data [, int isFinal])
1319
1319
Start parsing an XML document */
1320
1320
PHP_FUNCTION (xml_parse )
1321
1321
{
@@ -1344,7 +1344,7 @@ PHP_FUNCTION(xml_parse)
1344
1344
1345
1345
/* }}} */
1346
1346
1347
- /* {{{ proto int xml_parse_into_struct(int pind , string data, array &struct, array &index)
1347
+ /* {{{ proto int xml_parse_into_struct(resource parser , string data, array &struct, array &index)
1348
1348
Parsing a XML document */
1349
1349
1350
1350
PHP_FUNCTION (xml_parse_into_struct )
@@ -1383,7 +1383,7 @@ PHP_FUNCTION(xml_parse_into_struct)
1383
1383
}
1384
1384
/* }}} */
1385
1385
1386
- /* {{{ proto int xml_get_error_code(int pind )
1386
+ /* {{{ proto int xml_get_error_code(resource parser )
1387
1387
Get XML parser error code */
1388
1388
PHP_FUNCTION (xml_get_error_code )
1389
1389
{
@@ -1417,7 +1417,7 @@ PHP_FUNCTION(xml_error_string)
1417
1417
}
1418
1418
/* }}} */
1419
1419
1420
- /* {{{ proto int xml_get_current_line_number(int pind )
1420
+ /* {{{ proto int xml_get_current_line_number(resource parser )
1421
1421
Get current line number for an XML parser */
1422
1422
PHP_FUNCTION (xml_get_current_line_number )
1423
1423
{
@@ -1433,7 +1433,7 @@ PHP_FUNCTION(xml_get_current_line_number)
1433
1433
}
1434
1434
/* }}} */
1435
1435
1436
- /* {{{ proto int xml_get_current_column_number(int pind )
1436
+ /* {{{ proto int xml_get_current_column_number(resource parser )
1437
1437
Get current column number for an XML parser */
1438
1438
PHP_FUNCTION (xml_get_current_column_number )
1439
1439
{
@@ -1449,7 +1449,7 @@ PHP_FUNCTION(xml_get_current_column_number)
1449
1449
}
1450
1450
/* }}} */
1451
1451
1452
- /* {{{ proto int xml_get_current_byte_index(int pind )
1452
+ /* {{{ proto int xml_get_current_byte_index(resource parser )
1453
1453
Get current byte index for an XML parser */
1454
1454
PHP_FUNCTION (xml_get_current_byte_index )
1455
1455
{
@@ -1465,7 +1465,7 @@ PHP_FUNCTION(xml_get_current_byte_index)
1465
1465
}
1466
1466
/* }}} */
1467
1467
1468
- /* {{{ proto int xml_parser_free(int pind )
1468
+ /* {{{ proto int xml_parser_free(resource parser )
1469
1469
Free an XML parser */
1470
1470
PHP_FUNCTION (xml_parser_free )
1471
1471
{
@@ -1486,7 +1486,7 @@ PHP_FUNCTION(xml_parser_free)
1486
1486
}
1487
1487
/* }}} */
1488
1488
1489
- /* {{{ proto int xml_parser_set_option(int pind , int option, mixed value)
1489
+ /* {{{ proto int xml_parser_set_option(resource parser , int option, mixed value)
1490
1490
Set options in an XML parser */
1491
1491
PHP_FUNCTION (xml_parser_set_option )
1492
1492
{
@@ -1535,7 +1535,7 @@ PHP_FUNCTION(xml_parser_set_option)
1535
1535
}
1536
1536
/* }}} */
1537
1537
1538
- /* {{{ proto int xml_parser_get_option(int pind , int option)
1538
+ /* {{{ proto int xml_parser_get_option(resource parser , int option)
1539
1539
Get options from an XML parser */
1540
1540
PHP_FUNCTION (xml_parser_get_option )
1541
1541
{
0 commit comments