php Function cli_Get_Process_Title
php function cli_get_process_title is a handy utility that returns the process title set by cli_set_process_title(). Note that this may not match what is shown in tools such as ps and top, depending on the operating system. This function is only available in CLI mode. Returns a string with the current process title or NULL on error. An E_WARNING will be generated if the operating system is unsupported.
In php version 4.3.0 a new type of error handling was introduced that allows links to the manual page for the function main in some errors. However this functionality is currently only enabled in some environments via the php_error_docref directive and will be disabled by default in php versions 5.5 and later.
Articles
phpinfo is an excellent tool that prints out a large amount of information about the current state of PHP including compilation options, extensions, server information and environment (if compiled as a module), paths, master and local values for configuration options and HTTP headers. It is a very valuable debugging tool and can be used to help identify problems with your code.