函数

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:16:07872browse

  一个function(函数)可以使用如下语法来定义
function foo ($arg_1, $arg_2, ..., $arg_n) {
echo "Example function.";
return $retval;
}
任何有效的PHP代码可以出现在function(函数)中,即使是其它的函数或类定义.
Function必须在他们被引用之前定义.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn