内置php函数的源代码位于何处? [英] Where is the source code for built-in php functions located?
问题描述
我在我的Mac上安装了本地服务器(MAMP)。在哪里可以在我的电脑中找到PHP函数?
函数文件夹的路径是什么?例如, rand()
, time()
, isset()
$ explode()
。
我希望看到可以从中学习的代码。您可以从此页面下载PHP源代码: > http://php.net/downloads.php
下载并解压档案。标准函数位于ext / standard下。
或者直接在github上浏览它们:https://github.com/php/php-src/tree/master/ext/standard
I have a local server installed on my Mac (MAMP). Where I can find the PHP functions in my computer?
What is the path to the functions folder? For instance, rand()
, time()
, isset()
, explode()
.
I would like to see the code to learn from it.
You can download the PHP source from this page: http://php.net/downloads.php Download and extract the archives. The standard functions are located under ext/standard.
Or simply browse them on github: https://github.com/php/php-src/tree/master/ext/standard
这篇关于内置php函数的源代码位于何处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!