Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
PHP
« Previous
Next »
What does explode() do?
Options
- Used to convert a string to an array.
- Used to split a given string into the number of chunks specified
- Used to split a string by a string
- Used to split string into two equal halves.
CORRECT ANSWER : Used to split a string by a string
Discussion Board
explode().
Answer : Used to split a string by a string.
The explode() function breaks a string into an array. It returns an array of strings
Syntax :
explode(separator,string,limit)
Jayesh Sonar 02-10-2015 04:38 AM
correct option a and c
option first is also correct
Prashant 08-10-2014 12:18 PM
2 options correct
Used to convert a string to an array-first option is also correct.
but here the correct option is " Used to split a string by a string".
Please explain in detail
pinal Mehta 05-20-2014 08:46 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
PHP (39)
DHTML (10)
CSS (21)
MySQL (20)
VLSI (9)
XML (28)
UML (11)
HTML (19)
Fedora (61)
HTML5 (60)
Android (100)
Advertisement
▲