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-- addslashes() and stripslashes() functions --FILE-- <?php $input = ''; for($i=0; ..
Decoded Output download
Normal: FAILED
Did this file decode correctly?
Original Code
--TEST--
addslashes() and stripslashes() functions
--FILE--
<?php
$input = '';
for($i=0; $i<512; $i++) {
$input .= chr($i%256);
}
echo "Normal: ";
if($input === stripslashes(addslashes($input))) {
echo "OK\n";
} else {
echo "FAILED\n";
}
?>
--EXPECT--
Normal: OK
Function Calls
chr | 512 |
addslashes | 1 |
stripslashes | 1 |
Stats
MD5 | f7f7a83e73bb70bfb72eded6fb00f21a |
Eval Count | 0 |
Decode Time | 2159 ms |