What is difference between is_int() vs is_integer() vs is_numeric() in php?

What is difference between is_int() vs is_integer() vs is_numeric() in php?

In this article, We’ll see what is the difference between is_int(), is_integer() and is_numeric() in php? Above functions looks like similar, but there is a difference. is_int(): It is used to check the type of a variable is integer. is_integer(): alias of is_int(). It is also used to test whether the type of the specifiedRead more about What is difference between is_int() vs is_integer() vs is_numeric() in php?[…]

What is the difference between single quotes and double quotes in php ?

What is the difference between single quotes and double quotes in php ?

In this article, We’ll see what is the difference between single quotes ‘ and double quotes ” in php? single quotes: It is the simplest way to specify a string is to enclose it in single quotes (‘). single quotes is generally faster than double quotes and everything quoted inside treated as plain string andRead more about What is the difference between single quotes and double quotes in php ?[…]

How to get file extension in php ?

How to get file extension in php ?

In this article, We’ll see how to get file extension in php. We’ll use pathinfo() function to get the file extension. pathinfo() function returns information about a file path: either an associative array or a string, depending on options. Below an example: That’s it!. Please share your thoughts or suggestions in the comments below.

Why use !== FALSE to check string contains a specific word in php?

Why use !== FALSE to check string contains a specific word in php?

In this article, We’ll see why we use !== FALSE to check sub-string is located inside another string. strpos — Find the position of the first occurrence of a case-sensitive substring in a string. strpos returns the position of a string inside another. if the string is not found, it returns false and return 0Read more about Why use !== FALSE to check string contains a specific word in php?[…]