当前位置:Gxlcms > PHP教程 > PHP函数_PHP教程

PHP函数_PHP教程

时间:2021-07-01 10:21:17 帮助过:20人阅读

字符串函数:

  

= "fakeface" =(,0,3);输出前面三个字符 fak = (); = ( = (,"c");输出c的位置 ; View Code


数学函数:

  

      = 123.123456      ();输出一个整数123
     (,3);输出数字并保留三位小数123.123
     (1,10);

数组函数:

  

      =      (, "Maroon 5");
     (, "Bruno Mars"     (, "Nickelback"     (, "Katy Perry"     (, "Macklemore"      ( 
 
     = ("david","alana","violet","rory"     ();
      (", ", );
     ();  

  

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/440352.htmlTechArticle字符串函数: = "fakeface" = ( ,0,3); = ( ); = ( = ( ,"c"); ; View Code 数学函数: = 123.123456 ( ); ( ,3); (1,10); 数组函数: = ( , "Maroon 5"); ( , "Bruno Mars" (...

人气教程排行