#18638 [Opn->Csd]: str_rot13 bug

From: Date: Tue, 30 Jul 2002 10:52:17 +0000
Subject: #18638 [Opn->Csd]: str_rot13 bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15557@lists.php.net to get a copy of this message
ID: 18638 Updated by: rasmus@php.net Reported By: pipen@demon.ns.net.pl -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 4.2.2 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-07-30 06:31:30] pipen@demon.ns.net.pl I found str_rot13 rotates result string and its argument also... Proof: pipen@demon> php4 -q <?php $x = 'abcde'; $y = str_rot13( $x ); echo "$x\n$y\n"; ?> this is result: nopqr nopqr and it should be: abcde nopqr ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18638&edit=1

« previous php.bugs (#15557) next »