Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Bug #43957 (utf8_decode() bogus conversion on multibyte indicator near end of str..

Decoded Output download

--TEST--
Bug #43957 (utf8_decode() bogus conversion on multibyte indicator near end of string)
--FILE--
<?php
  echo utf8_decode('abc'.chr(0xe0));
?>
--EXPECT--
abc?

Did this file decode correctly?

Original Code

--TEST--
Bug #43957 (utf8_decode() bogus conversion on multibyte indicator near end of string)
--FILE--
<?php
  echo utf8_decode('abc'.chr(0xe0));
?>
--EXPECT--
abc?

Function Calls

chr 1
utf8_decode 1

Variables

None

Stats

MD5 c34f3ba6dd8327cab48518d71e9823e3
Eval Count 0
Decode Time 92 ms