note 26276 deleted from function.str-rot13 by betz

From: Date: Fri, 25 Oct 2002 10:35:20 +0000
Subject: note 26276 deleted from function.str-rot13 by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-38545@lists.php.net to get a copy of this message
When passing a variable to str_rot13() it doesn't only return the rot13 transform of that variable, it also stores the resulting string back into the variable: <?php $testvar = "abc"; $testvar2 = str_rot13($testvar); echo $testvar; // will show "nop" ?> I don't know if it's just me, but I found that very odd. Version is 4.2.3

« previous php.notes (#38545) next »