Blog

How to validate is URL in Php?

In this post, This function checks whether a variable is of type URL or not.

How to validate value is Boolean in Php?

In this post, This function checks whether a variable is of type boolean or not.

How to validate value is Float in Php?

In this post, This function checks whether a variable is of type float or not.

How to create folder if it does not exists in Php?

The function creates a directory specified by a pathname if it does not exists in PHP.

How to use fopen() function in PHP?

The fopen function in PHP is an inbuilt function which is used to open a file or an URL.

How to check empty object in php?

In this post we will show you how to check empty object in PHP.

How to get a substring between two strings in php?

In this post we will show you how to get substring between two strings in PHP.

How to extract all digits from a string in PHP?

In this article, To get the list of all numbers in a String, use the regular expression ‘[0-9]+’ with re.findall() method. [0-9] represents a regular expression to match a single digit in the string. [0-9]+ represents continuous digit sequences of any length.

How To Check If a String Starts with a Substring in PHP?

In this tutorial, this function performs a case-sensitive search and checks if a string starts with a substring in PHP.

How To Check If a String Ends with a Substring in PHP?

In this tutorial, this function performs a case-sensitive search and checks if a string ends with a substring in PHP.