8 functions should know for PHP newcomer ?

Function 1 : array_rand

Get a random variable in an array.

Function 2: strip_tags

Get rid of HTML tags in paragraph. Mostly use in CMS

Function 3: strftime

This function change type of date, time as we want

Function 4: basename

Get only a file name.

Function 5: list

Re-assign variable in an array

Function 6: range

Create an array which contains characters or numbers

Function 7: isset

The most common and useful funciton to check variable existed or not.

Function 8: array_key_exit

check for array key in the array

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
DMCA.com Protection Status
0
Would love your thoughts, please comment.x
()
x