Examveda
Examveda

Which one of the following preg PHP functions is used to take a string, and put it in an array?

A. preg_destroy()

B. preg_split()

C. preg_unchain()

D. preg_divide()

Answer: Option B

Solution(By Examveda Team)

The string is broken up into different values in the array based upon your input.

This Question Belongs to PHP >> Regular Expressions

Join The Discussion

Related Questions on Regular Expressions