开发者

How can I count the total number of built-in functions in PHP? [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. 开发者_StackOverflow Closed 10 years ago.

How can I count the total number of built-in functions in PHP, latest version?


You could use a core function to count the number of functions available in the core and installed extensions:

$funcs = get_defined_functions();
echo count($funcs['internal']);


Count them here:

PHP Function List

Here is a list of all the documented PHP functions. Click on any one of them to jump to that page in the manual...


There are 5845 listed function here at PHP website


PHP site shows a total of 5368 functions.


http://php.net/quickref.php

I selected all the functions listed on that page and pasted into a text editor.. i got 5011 lines which means that there are 5011 functions, if i am not wrong.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜