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 #52211 (iconv() returns part of string on error) --EXTENSIONS-- iconv --FILE-..
Decoded Output download
--TEST--
Bug #52211 (iconv() returns part of string on error)
--EXTENSIONS--
iconv
--FILE--
<?php
$str = "PATHOLOGIES MDICO-CHIRUR. ADUL. PL";
$str_iconv = iconv('CP850', 'ISO-8859-1', $str );
var_dump($str_iconv);
?>
--EXPECTF--
Notice: iconv(): Detected an illegal character in input string in %s on line %d
bool(false)
Did this file decode correctly?
Original Code
--TEST--
Bug #52211 (iconv() returns part of string on error)
--EXTENSIONS--
iconv
--FILE--
<?php
$str = "PATHOLOGIES MDICO-CHIRUR. ADUL. PL";
$str_iconv = iconv('CP850', 'ISO-8859-1', $str );
var_dump($str_iconv);
?>
--EXPECTF--
Notice: iconv(): Detected an illegal character in input string in %s on line %d
bool(false)
Function Calls
iconv | 1 |
Stats
MD5 | a43f9ceb29888bc4f644e4bd9a077f9f |
Eval Count | 0 |
Decode Time | 83 ms |