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 #33076 (str_ireplace() incorrectly counts result string length and may cause ..

Decoded Output download

--TEST--
Bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
--FILE--
<?php

$value = str_ireplace("t", "bz", "Text");

var_dump($value);

echo "Done
";
?>
--EXPECT--
string(6) "bzexbz"
Done

Did this file decode correctly?

Original Code

--TEST--
Bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
--FILE--
<?php

$value = str_ireplace("t", "bz", "Text");

var_dump($value);

echo "Done\n";
?>
--EXPECT--
string(6) "bzexbz"
Done

Function Calls

str_ireplace 1

Variables

None

Stats

MD5 2df81be2d4a73c75ce0a3574eb251472
Eval Count 0
Decode Time 110 ms