PHP – ftruncate() Function
The PHP ftruncate() function truncates an open file to the specified length.
The PHP ftruncate() function truncates an open file to the specified length.
The PHP fwrite() writes to an open file and will stop at the end of the file (EOF) or when it reaches the specified length, whichever comes first.
The PHP get_browser() function looks up the user’s browscap.ini file and returns the capabilities of the user’s browser.
The PHP getdate() function returns date/time information of a timestamp or the current local date/time.
The PHP gethostbyaddr() function returns the domain name for a given IP address.
The PHP gethostbyname() function returns the IPv4 address for a given domain/host name.
The PHP gethostbynamel() function returns a list of IPv4 address for a given domain/host name.
The PHP gethostname() function returns the host name for the local machine.
The PHP getmxrr() function returns the MX records for the specified internet host name.
The PHP getprotobyname() function returns the protocol number for a given protocol name.
The PHP getprotobynumber() function returns the protocol name for a given protocol number.
The PHP getrandmax() function returns the largest possible value that can be returned by the rand() function.
The PHP getservbyname() function returns the port number for a given Internet service and protocol.
The PHP getservbyport() function returns the Internet service for a given port and protocol.
The PHP glob() function returns an array of filenames or directories matching a specified pattern.
The PHP gmdate() function formats a GMT/UTC date and time, and returns the formatted date string.
The PHP global keyword imports variables from the global scope into the local scope of a function.