array_merge() Function: The array_merge() function is used to merge two or more arrays into a single array. This function is used to merge the elements… Read More
Tag Archives: PHP-function
The empty() function is an inbuilt function in PHP that is used to check whether a variable is empty or not. These values are considered… Read More
Hashing password is a technique of converting a single password into another string called hashed password. The hashed password is generally one-way, i.e. we can’t… Read More
In PHP, we create sessions for the user who is logged in and make that user online till the user log out of that session.… Read More
The mb_str_split() function was introduced in the release of PHP version 7.4.0 and it is only supported with PHP versions equal to or greater than… Read More
The trigger_error() function is an inbuilt function in PHP that has the capacity to act as a built-in error handler. This function is generally used… Read More
The debug_backtrace() function is an inbuild function in PHP which is generally used by programmers in debugging. The main work of debug_backtrace() function is to… Read More
In this article, we will learn to create a table in a PDF file from an external text file with PHP by using FPDF. It… Read More
In this article, we will learn, when should one use the require_once() method and when to use require() method in PHP. require() Method: PHP require()… Read More
In this article, we will learn how to generate PDF files and add new TrueType fonts with PHP by using FPDF. It is a free… Read More
The str_ends_with() function is a predefined function in PHP 8 that is used to perform case-sensitive searching on a given string. The str_ends_with() generally checks… Read More
In this article, we will learn about the shell_exec() & exec() functions in PHP. As we know that in order to execute a command in… Read More
This is a predefined function in PHP 8 that is used to perform case-sensitive searches on a given string. str_starts_with() generally checks for the string… Read More
The str_contains() is a predefined function that is introduced with the release of PHP 8. The str_contains() function search for the substring in the given… Read More
The getlastmod() function is used to get the time of the last modification of the main script of execution. To show the last modification time… Read More