PHP Developer's Dictionary- P32:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary getmypid Syntax int getmypid void Description The getmypid function returns the process ID as to which PHP is running or false on error. Note that when PHP is running as a server module multiple scripts may share the same process ID. getmyuid Syntax int getmyuid void Description The getmyuid function returns the user ID under which the current script is running or false on error. getrusage Syntax array getrusage int who Description The getrusage function which was added in PHP and PHP returns an associative array returned from the system call getrusage . When who is set to 1 the system call getrusage will be called with rsuage_children. The array structure is system-dependent so you should consult your man pages for more information. phpcredits Syntax IT-SC book 155 PHP Developer s Dictionary void phpinfo int flag Description The phpcredits function which was added in PHP outputs details about the developers of PHP and its modules. The output is in HTML format and its contents are based on the flag parameter. Possible values include CREDITS_ALL All the credit messages. CREDITS_DOCS Lists the documentation team members. CREDITS_FULLPAGE Indicates that an entire HTML page should be generated. This is used in conjunction with other flags. CREDIT S_GE NERAL Lists language developers authors and SAPI module. CREDITS_GROUP Lists the core developers. CREDITS_MODULES Lists the extension module developers. CREDITS_SAPI Not implemented. phpinfo Syntax int phpinfo void Description The phpinfo function outputs details about the current state of PHP. The details include information about PHP compilation options and extensions the PHP version server information and server environment if compiled as a module PHP environment OS version information paths master and local values of configuration options HTTP headers and the GNU Public License. phpversion Syntax string phpversion void Description The phpversion function returns a string