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 #51059 crypt() segfaults on certain salts --FILE-- <?php $res = crypt('a', '_..

Decoded Output download

--TEST--
Bug #51059 crypt() segfaults on certain salts
--FILE--
<?php
$res = crypt('a', '_');
if ($res === '*0' || $res === '*1') echo 'OK';
else echo 'Not OK';

?>
--EXPECT--
OK

Did this file decode correctly?

Original Code

--TEST--
Bug #51059 crypt() segfaults on certain salts
--FILE--
<?php
$res = crypt('a', '_');
if ($res === '*0' || $res === '*1') echo 'OK';
else echo 'Not OK';

?>
--EXPECT--
OK

Function Calls

crypt 1

Variables

None

Stats

MD5 8fd050ebe6b6a1d74f0b57693505e527
Eval Count 0
Decode Time 81 ms