note 9445 deleted from function.strlen by dams
| From: | dams@php.net | Date: | Sat, 27 Jul 2002 16:23:03 +0000 |
| Subject: | note 9445 deleted from function.strlen by dams | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-33671@lists.php.net to get a copy of this message | ||
Previous poster wrote:
"what you describe is not a bug; it's common behaviour in any programming language. "
You are totally wrong here. Assignments are used as part of expressional conditions all the time in
C and C++ ( just look at the K&R book if you don't believe me.) You just need to
understand the order of precedence in the expression. Why this doesn't work in PHP is a quirk
or 'feature' of the PHP interpreter.
Brian