PHP 4.0 Bug #6107: increments are magic, decrements not
| From: | waldschrott@php.net | Date: | Fri, 11 Aug 2000 12:03:39 +0000 |
| Subject: | PHP 4.0 Bug #6107: increments are magic, decrements not | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28531@lists.php.net to get a copy of this message | ||
From: waldschrott@php.net
Operating system: irrelevant
PHP version: 4.0 Latest CVS (11/08/2000)
PHP Bug Type: Scripting Engine problem
Bug description: increments are magic, decrements not
try this:
$a='a';
$a++;
$a--;
echo $a;
what do you expect? of course 'a', what do you get? 'b'