php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47166 unicode_is_decodable feature
Submitted: 2009-01-20 11:47 UTC Modified: 2009-01-21 11:17 UTC
From: lunter at interia dot pl Assigned:
Status: Wont fix Package: Unicode Engine related
PHP Version: 6CVS-2009-01-20 (snap) OS: all
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lunter at interia dot pl
New email:
PHP Version: OS:

 

 [2009-01-20 11:47 UTC] lunter at interia dot pl
Description:
------------
bool unicode_is_decodable ( string $input , string $encoding )

Return true when convert a binary string encoded in encoding to a unicode string is possible witout errors.

To prevent emits a E_WARNING level error if a converter cannot be created for the desired encoding by unicode_decode .

Reproduce code:
---------------
n/a

Expected result:
----------------
n/a

Actual result:
--------------
n/a

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-01-21 11:17 UTC] johannes@php.net
There's no good way to do a simple checking, in fact we'd have to convert it internally and then throw the result away.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC