Home  >  Article  >  php教程  >  教你一个月学会PHP全部函数

教你一个月学会PHP全部函数

WBOY
WBOYOriginal
2016-06-21 08:51:232452browse

 

  学好PHP最重要的一方面就是要会用PHP的内置函数。

  当别人问你如何实现一个功能,你说出一个他不知道的函数一下搞定,别人一定会对你肃然起敬!

  PHP一共有多少内置函数呢?其实加上常用的扩展一共也才1300多个。

  每天花1到2个小时看30个函数,一个月就可以学会PHP全部函数了!

  想知道PHP都有哪些函数吗?


复制代码

  1. $f = get_defined_functions();
  2. echo '
    ';
  3. print_r($f['internal']);

 

  类似的函数还有:

  get_declared_classes();

  get_declared_interfaces();

  get_defined_constants();

  get_defined_vars();

  //php100.com

  快去试试吧!



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