note 117757 deleted from function.exec by cmb
| From: | cmb@php.net | Date: | Mon, 03 Aug 2015 11:48:16 +0000 |
| Subject: | note 117757 deleted from function.exec by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-203252@lists.php.net to get a copy of this message | ||
Note Submitter: ddskdl at gmail dot com
----
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)
*/
?>