note 26275 deleted from function.str-rot13 by vrana
| From: | vrana@php.net | Date: | Tue, 20 Jan 2004 15:14:09 +0000 |
| Subject: | note 26275 deleted from function.str-rot13 by vrana | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63881@lists.php.net to get a copy of this message | ||
Note Submitter:
----
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