Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 483 Bytes

0230.md

File metadata and controls

38 lines (31 loc) · 483 Bytes

Consider the following array:

$arr = ['apple''banana''cherry'];

Which function would you use to get the following string?

apple, banana, cherry
  • A)
implode()
  • B)
explode()
  • C)
ltrim()
  • D)
substr()
Answer

Answer: A