Bug #1235 Updated: string arithmetical misbehaviour
| From: | Bug Database | Date: | Mon, 15 Mar 1999 20:01:55 +0000 |
| Subject: | Bug #1235 Updated: string arithmetical misbehaviour | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4635@lists.php.net to get a copy of this message | ||
ID: 1235
Updated by: andi
Reported By: tolj@pwi.de
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
-----------------------------------------------------------------
Only increment works with strings in PHP, decrement doesn't. When you decrement a string it
gets
converted to a long and is then decremented.
The reason is that like Perl, we didn't see much use for string increment/decrement except for
testing purposes and creating unqiue ideas so increment should be enough.
Full Bug description available at: http://ca.php.net/bugs.php3?id=1235
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net