Where is the source code of the php built-in functions located?

I have a local server installed on my Mac (MAMP). Where can I find PHP functions on my computer?

What is the path to the function folder? For example, rand() , time() , isset() , explode() .

I would like the code to learn from him.

+6
source share
1 answer

You can download the PHP source code from this page: http://php.net/downloads.php Download and extract archives. Standard features are located under the ext / standard.

Or just view them on github: https://github.com/php/php-src/tree/master/ext/standard

+16
source

Source: https://habr.com/ru/post/917233/


All Articles