/ Published in: PHP
$test = 'hola';
echo $test ."";
$test = ofuscar( $test ); #Ida
echo $test ."";
$test = ofuscar( $test ); #Vuelta
echo $test ."";
echo $test ."";
$test = ofuscar( $test ); #Ida
echo $test ."";
$test = ofuscar( $test ); #Vuelta
echo $test ."";
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function ofuscar( $str ){ for ($i = 0 ; $i < $total; $i++) { $j= $j ^ $i ; } return $salida; } $test = 'hola'; echo $test ."<hr>"; $test = ofuscar( $test ); #Ida echo $test ."<hr>"; $test = ofuscar( $test ); #Vuelta echo $test ."<hr>";