note 29684 deleted from function.implode by sniper
| From: | sniper@php.net | Date: | Wed, 08 Oct 2003 03:54:33 +0000 |
| Subject: | note 29684 deleted from function.implode by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57994@lists.php.net to get a copy of this message | ||
Note Submitter: edwin@yoursite.nl
----
Since the NULL value is treated like the empty string if used in string operations, it's
possible to use the following line of code:
$string = join ( NULL, $array );
It makes code better readable, since it might be difficult to see the difference in two single
quotes and a double quote ( '' and " ) in some fonts...