php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17288 ord returns wrong ascii values
Submitted: 2002-05-17 09:39 UTC Modified: 2002-06-17 07:10 UTC
From: tf at tfromm dot com Assigned:
Status: Closed Package: Strings related
PHP Version: 4.1.2 OS: linux
Private report: No CVE-ID: None
 [2002-05-17 09:39 UTC] tf at tfromm dot com
ascii values for \b... \a (and some more) are missing.
they returns only 92.

e.g. value for \b should be 8...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-17 07:10 UTC] hholzgra@php.net
these sequences are not defined in PHP, see

http://www.php.net/manual/en/language.types.string.php

(maybe you want to issue a feature request, but that 
 would be related not only to ord(), so closing for now)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 22:01:27 2024 UTC