Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getmypid(3) [php man page]

GETMYPID(3)								 1							       GETMYPID(3)

getmypid - Gets PHP's process ID

SYNOPSIS
int getmypid (void ) DESCRIPTION
Gets the current PHP process ID. RETURN VALUES
Returns the current PHP process ID, or FALSE on error. NOTES
Warning Process IDs are not unique, thus they are a weak entropy source. We recommend against relying on pids in security-dependent con- texts. SEE ALSO
getmygid(3), getmyuid(3), get_current_user(3), getmyinode(3), getlastmod(3). PHP Documentation Group GETMYPID(3)

Check Out this Related Man Page

SESSION_UNREGISTER(3)							 1						     SESSION_UNREGISTER(3)

session_unregister - Unregister a global variable from the current session

SYNOPSIS
bool session_unregister (string $name) DESCRIPTION
session_unregister(3) unregisters the global variable named $name from the current session. Warning This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. PARAMETERS
o $name - The variable name. RETURN VALUES
Returns TRUE on success or FALSE on failure. NOTES
Note If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is used, use unset(3) to unregister a session variable. Do not unset(3)$_SESSION itself as this will disable the special function of the $_SESSION superglobal. Caution This function does not unset the corresponding global variable for $name, it only prevents the variable from being saved as part of the session. You must call unset(3) to remove the corresponding global variable. Caution If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use session_register(3), session_is_registered(3) and session_unregis- ter(3). PHP Documentation Group SESSION_UNREGISTER(3)
Man Page