This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:implode [2017/03/28 20:13] jeff |
uphp:functions:implode [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
======implode====== | ======implode====== | ||
+ | |||
< | < | ||
- | Turn an array into a string | + | < |
====Description==== | ====Description==== | ||
- | <well size=" | + | |
- | <span style=" | + | <well size=" |
- | < | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
- | <span style=" | + | <span style=" |
+ | <span style=" | ||
</ | </ | ||
- | Turn an array into a string with the delimiter separating each element | + | |
+ | < | ||
====Parameters==== | ====Parameters==== | ||
- | < | ||
- | < | + | <html><b>< |
- | ====Return | + | < |
- | String containing concatenated elements | + | |
+ | ====Notes==== | ||
+ | |||
+ | For float values and indexed float arrays, values are rounded to 3 decimal places. | ||
+ | |||
+ | ====Return | ||
+ | |||
+ | < | ||
====Example==== | ====Example==== | ||
+ | |||
<code php> | <code php> | ||
<? | <? | ||
Line 39: | Line 49: | ||
====See Also==== | ====See Also==== | ||
- | [[explode()]] - Turn a string into an array | ||
- | [[array()]] - Create an array, with optional values | + | [[explode()]] - < |
+ | |||
+ | [[array()]] - < | ||
[[uphp: | [[uphp: | ||
====Additional Information==== | ====Additional Information==== | ||
- | The mainline PHP function '' | + | |
+ | The mainline PHP function '' | ||
Wattmon uPHP's parameter order is easier to remember and more consistent: | Wattmon uPHP's parameter order is easier to remember and more consistent: | ||