How to check a string contains substring in php?

The function will check a string contains substring, the string to be checked may contain underscores.

How to remove value from array in PHP?

In this post, the function will remove the element from an array by value, we can use the combination of array_search() and unset() functions in PHP.

How to get a random string in php?

This tutorial includes several methods of generating a unique, random, alpha-numeric string with PHP.

How to convert pascal case decode in php?

In this post, We will show you how to convert pascal case decode.

How to sort array in PHP?

In this post, we show you 2 ways to sort arrays using strnatcmp() and strcmp() functions.

How to convert string to date in php?

In this tutorial, we’ll explore several ways to convert String into Date objects.

How to delete object’s property in php?

In this article, we show how to delete all properties of an object in PHP.

How to get file extension in php?

This post, we helps you get file extension.

How to convert camelCase to underscore in php?

Use PHP to convert the camelCase string into an underscore-separated or other character separated.

How to remove all non-numeric characters from a string in php?

In this post, We can remove all non-\alphanumeric characters from the string with preg_\replace() function in PHP.