Use of Explode() in php

Hello friends,

if you want to divide your any string than using this explode function you can use.  i.e my string is i m smitcky and i want to removed space between of that word and need every word in variable than you can use below code.

Syntax:

Explode returns an array of string.

Example: