note 116213 deleted from function.explode by salathe

From: Date: Mon, 21 Sep 2020 14:50:10 +0000
Subject: note 116213 deleted from function.explode by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215341@lists.php.net to get a copy of this message
Note Submitter: wado ---- It should be said that when an empty delimiter is passed to explode, the function not only will return false but will also emit a warning. <?php var_dump( explode('','asdasd') ); /** * Output: * Warning: explode(): Empty delimiter in ... * bool(false) */ ?>

« previous php.notes (#215341) next »