内置php函数的源代码位于何处? [英] Where is the source code for built-in php functions located?

查看:85
本文介绍了内置php函数的源代码位于何处?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆