note 60848 deleted from function.strrev by cece

From: Date: Wed, 18 Jan 2006 14:43:38 +0000
Subject: note 60848 deleted from function.strrev by cece
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-102024@lists.php.net to get a copy of this message
Note Submitter: kristof_polleunis at yahoo.com Reason: useless ---- <?php // alternative way to reverse a string function revstring($instring) { for ($i = strlen($instring)-1;$i >= 0;$i--){ $instring = stripslashes($instring); $outstring .= $instring{$i}; } return addslashes($outstring); } echo revstring("Hello World!"); ?>

« previous php.notes (#102024) next »