Home > Backend Development > PHP Tutorial > 简单的函数_PHP

简单的函数_PHP

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 12:30:29
Original
1043 people have browsed it



简单的函数




 function printBold($inputText)   //定义function printBold()
 {
  print("" . $inputText . ""); ////打印$inputText
 }
 print("这行没有加重!
\n");   //直接打印字符串
 printBold("这行加重了!!!");   //调用function printBold()函数
 print("
\n");
 print("这行没有加重!
\n");   //直接打印字符串
?>



Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template