PHP’s C source can be found at http://svn.php.net/viewvc/php/php-src/trunk/. If I want to find the implementation of a specific PHP function, how to quick locate it in that SVN source?
PHP’s C source can be found at http://svn.php.net/viewvc/php/php-src/trunk/ . If I want to find
Share
Checking out the repository (or extracting the tarball), and greppign for
PHP_FUNCTION(functionname)should do it.For example:
Line
1131ofext/standard/string.cis whereimplodeis defined.Or you can use http://lxr.php.net/.