note 41241 deleted from function.trim by tomsommer
| From: | tomsommer@php.net | Date: | Sun, 04 Apr 2004 01:24:09 +0000 |
| Subject: | note 41241 deleted from function.trim by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67598@lists.php.net to get a copy of this message | ||
Note Submitter: arjini@mac.com
----
Bug or feature, you decide, but it seems specific to trim.
Works:
$match = trim($match);
if(!empty($match))
doSomething();
Parse Error:
if(!empty(trim($match)))
doSomething();
Had me baffled for a while.