The date_modify() function is an inbuilt function in PHP. Through the help of this function, we can modify or can alter the timestamp of DateTime… Read More
Tag Archives: PHP-function
The tmpfile() function in PHP is an inbuilt function which is used to create a temporary file with a unique name in read-write (w+) mode. The… Read More
The unlink() function is an inbuilt function in PHP which is used to delete files. It is similar to UNIX unlink() function. The $filename is… Read More
The touch() function in PHP is an inbuilt function which is used setting the access and modification time of a specified file. The filename of… Read More
The gmp_div_r() function is an in-built function in PHP which performs the division operation between two GMP numbers (GNU Multiple Precision : For large numbers)… Read More
The stat() function in PHP is an inbuilt function which is used to return information of a file. The stat(0) function returns statistics of a… Read More
The fgets() function in PHP is an inbuilt function which is used to return a line from an open file. It is used to return… Read More
is_bool() is an inbuilt function in php. The is_bool() function is used to find whether a variable is a boolean or not. Syntax: boolean is_bool($variable_name)… Read More
This article will make you aware of a very useful operator i.e the spaceship operator PHP 7. The spaceship operator or combined comparison operator is… Read More
In this article, we will see how to read the entire file into a string using the file_get_contents() function, along with understanding their implementation through… Read More
The unset() function is an inbuilt function in PHP which is used to unset a specified variable. The behavior of this function depends on different… Read More
The chr() function is a built-in function in PHP and is used to convert a ASCII value to a character. It accepts an ASCII value… Read More
We have string str and we need to find the string with all unique characters from the given string. All different characters should be printed… Read More
Given a string, check if all characters of it are in lowercase.Examples: Input : gfg123 Output : No Explanation : There are characters '1', '2'… Read More
The function_exists() is an inbuilt function in PHP. The function_exists() function is useful in case if we want to check whether a function() exists or… Read More