Skip to content

Commit 91424b2

Browse files
author
Derick Rethans
committed
- Fixed proto's (Patch by Zak)
1 parent a65e4e9 commit 91424b2

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

ext/standard/basic_functions.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ PHP_FUNCTION(constant)
945945
/* }}} */
946946

947947

948-
/* {{{ proto string ip2long(string ip_address)
948+
/* {{{ proto int ip2long(string ip_address)
949949
Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address */
950950
PHP_FUNCTION(ip2long)
951951
{
@@ -1015,7 +1015,7 @@ PHP_FUNCTION(getenv)
10151015

10161016
#ifdef HAVE_PUTENV
10171017

1018-
/* {{{ proto void putenv(string setting)
1018+
/* {{{ proto bool putenv(string setting)
10191019
Set the value of an environment variable */
10201020
PHP_FUNCTION(putenv)
10211021
{
@@ -1253,7 +1253,7 @@ PHP_FUNCTION(gettype)
12531253
}
12541254
/* }}} */
12551255

1256-
/* {{{ proto int settype(mixed var, string type)
1256+
/* {{{ proto bool settype(mixed var, string type)
12571257
Set the type of the variable */
12581258
PHP_FUNCTION(settype)
12591259
{
@@ -1318,7 +1318,7 @@ PHP_FUNCTION(get_cfg_var)
13181318
/* }}} */
13191319

13201320

1321-
/* {{{ proto int set_magic_quotes_runtime(int new_setting)
1321+
/* {{{ proto bool set_magic_quotes_runtime(int new_setting)
13221322
Set the current active configuration setting of magic_quotes_runtime and return previous */
13231323
PHP_FUNCTION(set_magic_quotes_runtime)
13241324
{
@@ -1505,7 +1505,7 @@ PHP_FUNCTION(is_scalar)
15051505
3 = save to file in 3rd parameter
15061506
*/
15071507

1508-
/* {{{ proto int error_log(string message, int message_type [, string destination] [, string extra_headers])
1508+
/* {{{ proto bool error_log(string message, int message_type [, string destination] [, string extra_headers])
15091509
Send an error message somewhere */
15101510
PHP_FUNCTION(error_log)
15111511
{
@@ -1717,7 +1717,7 @@ PHP_FUNCTION(call_user_method)
17171717
int arg_count=ZEND_NUM_ARGS();
17181718

17191719
php_error(E_NOTICE, _CUM_DEPREC, "call_user_method");
1720-
1720+
17211721
if (arg_count<2) {
17221722
WRONG_PARAM_COUNT;
17231723
}
@@ -1939,7 +1939,7 @@ ZEND_API void php_get_highlight_struct(zend_syntax_highlighter_ini *syntax_highl
19391939
}
19401940

19411941

1942-
/* {{{ proto boolean highlight_file(string file_name)
1942+
/* {{{ proto bool highlight_file(string file_name)
19431943
Syntax highlight a source file */
19441944
PHP_FUNCTION(highlight_file)
19451945
{
@@ -1962,7 +1962,7 @@ PHP_FUNCTION(highlight_file)
19621962
/* }}} */
19631963

19641964

1965-
/* {{{ proto boolean highlight_string(string string)
1965+
/* {{{ proto bool highlight_string(string string)
19661966
Syntax highlight a string */
19671967
PHP_FUNCTION(highlight_string)
19681968
{
@@ -2179,7 +2179,7 @@ PHP_FUNCTION(ini_restore)
21792179
}
21802180
/* }}} */
21812181

2182-
/* {{{ proto string print_r(mixed var)
2182+
/* {{{ proto bool print_r(mixed var)
21832183
Prints out information about the specified variable */
21842184
PHP_FUNCTION(print_r)
21852185
{
@@ -2348,7 +2348,7 @@ PHP_FUNCTION(getprotobynumber)
23482348
/* }}} */
23492349

23502350

2351-
/* {{{ proto void register_tick_function(string function_name [, mixed arg [, ... ]])
2351+
/* {{{ proto bool register_tick_function(string function_name [, mixed arg [, ... ]])
23522352
Registers a tick callback function */
23532353
PHP_FUNCTION(register_tick_function)
23542354
{
@@ -2420,7 +2420,7 @@ PHPAPI PHP_FUNCTION(warn_not_available)
24202420
}
24212421

24222422

2423-
/* {{{ proto boolean is_uploaded_file(string path)
2423+
/* {{{ proto bool is_uploaded_file(string path)
24242424
check if file was created by rfc1867 upload */
24252425
PHP_FUNCTION(is_uploaded_file)
24262426
{
@@ -2445,7 +2445,7 @@ PHP_FUNCTION(is_uploaded_file)
24452445
/* }}} */
24462446

24472447

2448-
/* {{{ proto boolean move_uploaded_file(string path, string new_path)
2448+
/* {{{ proto bool move_uploaded_file(string path, string new_path)
24492449
move a file if and only if it was created by an upload */
24502450
PHP_FUNCTION(move_uploaded_file)
24512451
{
@@ -2539,7 +2539,7 @@ static void php_ini_parser_cb_with_sections(zval *arg1, zval *arg2, int callback
25392539
}
25402540

25412541

2542-
/* {{{ proto void parse_ini_file(string filename [, boolean process_sections])
2542+
/* {{{ proto array parse_ini_file(string filename [, boolean process_sections])
25432543
Parse configuration file */
25442544
PHP_FUNCTION(parse_ini_file)
25452545
{

0 commit comments

Comments
 (0)