From 90610869658f0a0b7c7a99fc3a4ad750d8fb6c27 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sat, 16 Aug 2003 20:18:42 +0000 Subject: [PATCH] adding a note about previous bug int this function adding an example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138024 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/str-rot13.xml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/reference/strings/functions/str-rot13.xml b/reference/strings/functions/str-rot13.xml index be1368e186..ddca69b197 100644 --- a/reference/strings/functions/str-rot13.xml +++ b/reference/strings/functions/str-rot13.xml @@ -1,5 +1,5 @@ - + @@ -20,6 +20,27 @@ untouched. Encoding and decoding are done by the same function, passing an encoded string as argument will return the original version. + + + <function>rot13</function> example + + +]]> + + + + + + The behaviour of this function was buggy until PHP 4.3.0. Before + this, the str was also modified, as if + passed by reference. + +