Re: Implode() FR and Patch
| From: | Lorenzo Alberton | Date: | Sat, 06 Dec 2008 17:48:10 +0000 |
| Subject: | Re: Implode() FR and Patch | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42127@lists.php.net to get a copy of this message | ||
Hi Igor,
I would like to propose a third argument to implode(), named skip_empty, that will cause empty elements to be ignored when generating the implode string. By empty I mean everything that converts to an empty string such as '', false, null, etc.what about applying array_filter() to the array before calling implode()? Best regards, -- Lorenzo Alberton http://www.alberton.info http://pear.php.net/user/quipo ________________________________________________________________________ Quipo Free Internet: sicuro e veloce senza costi di attivazione e senza canone, 2 e-mail da 50 Mb, 150 Mb di spazio web e molto di più! Registrati gratis: http://www.quipo.it