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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tf at tfromm dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 06:01:32 2025 UTC