note 95013 added to language.operators.increment
| From: | aeheathc at osu1 dot php dot net | Date: | Wed, 09 Dec 2009 00:34:10 +0000 |
| Subject: | note 95013 added to language.operators.increment | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163724@lists.php.net to get a copy of this message | ||
Note that the manual's comment:
" PHP follows Perl's convention when dealing with arithmetic operations [...] in Perl
'Z'+1 turns into 'AA' "
...only describes how character incrementing works -- you can NOT actually operate on characters
with expressions in the form ( 'Z'+1 ) !
Doing so seems to return only the number, ignoring the character.
----
Server IP: 69.147.83.197
Probable Submitter: 24.213.27.222
----
Manual Page -- http://www.php.net/manual/en/language.operators.increment.php
Edit -- https://master.php.net/note/edit/95013
Del: integrated -- https://master.php.net/note/delete/95013/integrated
Del: useless -- https://master.php.net/note/delete/95013/useless
Del: bad code -- https://master.php.net/note/delete/95013/bad+code
Del: spam -- https://master.php.net/note/delete/95013/spam
Del: non-english -- https://master.php.net/note/delete/95013/non-english
Del: in docs -- https://master.php.net/note/delete/95013/in+docs
Del: other reasons-- https://master.php.net/note/delete/95013
Reject -- https://master.php.net/note/reject/95013
Search -- https://master.php.net/manage/user-notes.php