Re: [PHP-DOC] #20850 [Csd->Opn]: str_shuffle needs documentation - attache
I just downloaded the xml of shuffle and modified it for str_shuffle. So if it is not needed then the documentation of shuffle() must be fixed. Best regards Andrey Hristov - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 11:34 AM Subject: Re: [PHP-DOC] #20850 [Csd->Opn]: str_shuffle needs documentation - attache > > I'm assuming a random seed isn't required as of > PHP 4.2.0... > > Regards, > Philip > > > On Fri, 6 Dec 2002, Andrey Hristov wrote: > > > May someone with karma commit the attached xml. > > I will ask for karma later today. > > > > Andrey > > > > - Original Message - > > From: <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, December 06, 2002 9:15 AM > > Subject: [PHP-DOC] #20850 [Csd->Opn]: str_shuffle needs documentation > > > > > > > ID: 20850 > > > Updated by: [EMAIL PROTECTED] > > > Reported By: [EMAIL PROTECTED] > > > -Status: Closed > > > +Status: Open > > > Bug Type:Documentation problem > > > PHP Version: 4CVS-2002-12-05 (dev) > > > New Comment: > > > > > > That thing @ zend.com is usually not what people use. It's a bug, and > > > thus it belongs in the bugsystem. > > > > > > > > > Previous Comments: > > > > > > > > > [2002-12-05 22:05:47] [EMAIL PROTECTED] > > > > > > Nevermind. I see that this function appears on the list at > > > http://www.zend.com/phpfunc/nodoku.php. There's not much point to me > > > doubling up the information. :) > > > > > > > > > > > > [2002-12-05 20:36:33] [EMAIL PROTECTED] > > > > > > Please add str_shuffle to the documentation. Here's the comment from > > > the source code (ext/standard/string.c): > > > > > > /* {{{ proto void str_shuffle(string str) > > >Shuffles string. One permutation of all possible is created */ > > > > > > > > > > > > > > > > > > -- > > > Edit this bug report at http://bugs.php.net/?id=20850&edit=1 > > > > > > > > > -- > > > PHP Documentation Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] #20850 [Csd->Opn]: str_shuffle needs documentation -attache
I'm assuming a random seed isn't required as of PHP 4.2.0... Regards, Philip On Fri, 6 Dec 2002, Andrey Hristov wrote: > May someone with karma commit the attached xml. > I will ask for karma later today. > > Andrey > > - Original Message - > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, December 06, 2002 9:15 AM > Subject: [PHP-DOC] #20850 [Csd->Opn]: str_shuffle needs documentation > > > > ID: 20850 > > Updated by: [EMAIL PROTECTED] > > Reported By: [EMAIL PROTECTED] > > -Status: Closed > > +Status: Open > > Bug Type:Documentation problem > > PHP Version: 4CVS-2002-12-05 (dev) > > New Comment: > > > > That thing @ zend.com is usually not what people use. It's a bug, and > > thus it belongs in the bugsystem. > > > > > > Previous Comments: > > > > > > [2002-12-05 22:05:47] [EMAIL PROTECTED] > > > > Nevermind. I see that this function appears on the list at > > http://www.zend.com/phpfunc/nodoku.php. There's not much point to me > > doubling up the information. :) > > > > > > > > [2002-12-05 20:36:33] [EMAIL PROTECTED] > > > > Please add str_shuffle to the documentation. Here's the comment from > > the source code (ext/standard/string.c): > > > > /* {{{ proto void str_shuffle(string str) > >Shuffles string. One permutation of all possible is created */ > > > > > > > > > > > > -- > > Edit this bug report at http://bugs.php.net/?id=20850&edit=1 > > > > > > -- > > PHP Documentation Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DOC] #20850 [Csd->Opn]: str_shuffle needs documentation - attache
May someone with karma commit the attached xml. I will ask for karma later today. Andrey - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 9:15 AM Subject: [PHP-DOC] #20850 [Csd->Opn]: str_shuffle needs documentation > ID: 20850 > Updated by: [EMAIL PROTECTED] > Reported By: [EMAIL PROTECTED] > -Status: Closed > +Status: Open > Bug Type:Documentation problem > PHP Version: 4CVS-2002-12-05 (dev) > New Comment: > > That thing @ zend.com is usually not what people use. It's a bug, and > thus it belongs in the bugsystem. > > > Previous Comments: > > > [2002-12-05 22:05:47] [EMAIL PROTECTED] > > Nevermind. I see that this function appears on the list at > http://www.zend.com/phpfunc/nodoku.php. There's not much point to me > doubling up the information. :) > > > > [2002-12-05 20:36:33] [EMAIL PROTECTED] > > Please add str_shuffle to the documentation. Here's the comment from > the source code (ext/standard/string.c): > > /* {{{ proto void str_shuffle(string str) >Shuffles string. One permutation of all possible is created */ > > > > > > -- > Edit this bug report at http://bugs.php.net/?id=20850&edit=1 > > > -- > PHP Documentation Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > str_shuffle Shuffle an string Description stringstr_shuffle stringstr This function shuffles (randomizes the order of the chars in) an string. You must use srand to seed this function. The randomization method is the same as in shuffle. Keep in mind that unlike shuffle this function does not change the parameter passed to it but instead returns the randomized string. str_shuffle example See also shuffle. -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php