substr() is a substring of PHP. It is an inbuilt function which is used to extract a part of the string.

BY Best Interview Question ON 31 Mar 2019