note 50717 added to function.ord

From: Date: Tue, 08 Mar 2005 03:16:03 +0000
Subject: note 50717 added to function.ord
Groups: php.notes 
Request: Send a blank email to php-notes+get-86082@lists.php.net to get a copy of this message
Contrary to what jacobfri says below, ord does not use any particular character encoding. It simply converts bytes from a string type to the corresponding integer. These bytes could be characters in ASCII, or some other 7/8-bit code (e.g. ISO-8859-1), or bytes making up characters in some multibyte code (e.g. UTF-8). It all depends on what character encoding your application is using. ---- Manual Page -- http://www.php.net/manual/en/function.ord.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50717 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50717&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50717&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50717&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50717&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50717&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50717&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86082) next »