UK[ɪmˈpləʊd] US[ɪmˈploʊd]
vt.& vi. (make) centripetal explosion
Third person singular: implodes Present participle: imploding Past tense: imploded past participle :imploded
php implode() function syntax
Function:Combine array elements into strings
Syntax:implode(separator,array)
Parameters:
Parameter | Description |
separator | Optional. Specifies what is placed between array elements. Default is "" (empty string). |
array | Required. Arrays to be combined into strings. |
Note: The separator parameter ofimplode() function is optional. However, for backward compatibility, it is recommended that you use two parameters.
php implode() function example
Output:
Hello World! I love PHP!
Output:
Hello!World!I!love!PHP