×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

There are two strings (in an array) 'Hello' and 'World', which is the correct PHP statement to join them with the separator ','?

51. There are two strings (in an array) "Hello" and "World", which is the correct PHP statement to join them with the separator ","?

  1. join(",","Hello","World")
  2. join("Hello","World",",")
  3. join(",", ("Hello","World"))
  4. join(",",array("Hello","World"))

Answer: D) join(",",array("Hello","World"))

Explanation:

The correct PHP statement to join two strings "Hello" and "World" is:

join(",",array("Hello","World"))

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.