note 90890 deleted from function.strtok by danbrown
| From: | danbrown@php.net | Date: | Thu, 14 May 2009 20:44:15 +0000 |
| Subject: | note 90890 deleted from function.strtok by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154613@lists.php.net to get a copy of this message | ||
Note Submitter: contr at adicto dot ry
----
So write $out = strtok(...); $result = $var? $var : ''. Very, very easy to fix.