note 14829 added to function.ord.php
| From: | carl at nospam dot thep dot lu dot se | Date: | Thu, 16 Aug 2001 16:06:07 +0000 |
| Subject: | note 14829 added to function.ord.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16812@lists.php.net to get a copy of this message | ||
If you find that you use this function a lot you really out to consider doing whatever you're
doing in C instead. :-)
At least it takes more effort to type "ord($var)-ord('a')" than "var -
'a'".
But hey, you can't get everything you wish for, and at least PHP script very seldom manage to
segfault. :-D
http://www.php.net/manual/en/function.ord.php