Skip to content

Commit 4000ac5

Browse files
committed
Prototype fixes (MFB)
1 parent 9ea6f06 commit 4000ac5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ext/spl/php_spl.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static zend_class_entry * spl_find_ce_by_name(zend_uchar ztype, void *name, int
8181
return *ce;
8282
}
8383

84-
/* {{{ array class_parents(object instance)
84+
/* {{{ proto array class_parents(object instance)
8585
Return an array containing the names of all parent classes */
8686
PHP_FUNCTION(class_parents)
8787
{
@@ -246,7 +246,7 @@ int spl_autoload(const char *class_name, const char * lc_name, int class_name_le
246246
return 0;
247247
} /* }}} */
248248

249-
/* {{{ void spl_autoload(string class_name [, string file_extensions])
249+
/* {{{ proto void spl_autoload(string class_name [, string file_extensions])
250250
Default implementation for __autoload() */
251251
PHP_FUNCTION(spl_autoload)
252252
{
@@ -302,7 +302,7 @@ PHP_FUNCTION(spl_autoload)
302302
}
303303
} /* }}} */
304304

305-
/* {{{ void string spl_autoload_extensions([string file_extensions])
305+
/* {{{ proto void string spl_autoload_extensions([string file_extensions])
306306
Register and return default file extensions for spl_autoload */
307307
PHP_FUNCTION(spl_autoload_extensions)
308308
{
@@ -336,7 +336,7 @@ static void autoload_func_info_dtor(autoload_func_info *alfi)
336336
}
337337
}
338338

339-
/* {{{ void spl_autoload_call(string class_name)
339+
/* {{{ proto void spl_autoload_call(string class_name)
340340
Try all registerd autoload function to load the requested class */
341341
PHP_FUNCTION(spl_autoload_call)
342342
{
@@ -374,7 +374,7 @@ PHP_FUNCTION(spl_autoload_call)
374374
}
375375
} /* }}} */
376376

377-
/* {{{ void spl_autoload_register([string autoload_function = "spl_autoload" [, throw = true]])
377+
/* {{{ proto void spl_autoload_register([string autoload_function = "spl_autoload" [, throw = true]])
378378
Register given function as __autoload() implementation */
379379
PHP_FUNCTION(spl_autoload_register)
380380
{
@@ -479,7 +479,7 @@ PHP_FUNCTION(spl_autoload_register)
479479
}
480480
} /* }}} */
481481

482-
/* {{{ bool spl_autoload_unregister(string autoload_function)
482+
/* {{{ proto bool spl_autoload_unregister(string autoload_function)
483483
Unregister given function as __autoload() implementation */
484484
PHP_FUNCTION(spl_autoload_unregister)
485485
{
@@ -523,7 +523,7 @@ PHP_FUNCTION(spl_autoload_unregister)
523523
RETURN_BOOL(success == SUCCESS);
524524
} /* }}} */
525525

526-
/* {{{ false|array spl_autoload_functions()
526+
/* {{{ proto false|array spl_autoload_functions()
527527
Return all registered __autoload() functionns */
528528
PHP_FUNCTION(spl_autoload_functions)
529529
{

0 commit comments

Comments
 (0)