#43725 [NEW]: Error in description of str_word_count

From: Date: Wed, 02 Jan 2008 03:47:37 +0000
Subject: #43725 [NEW]: Error in description of str_word_count
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-401@lists.php.net to get a copy of this message
From: stanleyshapiro at yahoo dot ie Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Error in description of str_word_count Description: ------------ In the Description paragraph it states: "If the optional format is not specified, then the return value will be an integer representing the number of words found." This is correct. But in the 'format' parameter paragraph it states: Specify the return value of this function. The current supported values are: * 0 - returns the number of words found ........ This is wrong. The value 0 is invalid. -- Edit bug report at http://bugs.php.net/?id=43725&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43725&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43725&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43725&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43725&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43725&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43725&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43725&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43725&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43725&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43725&r=support Expected behavior: http://bugs.php.net/fix.php?id=43725&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43725&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43725&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43725&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43725&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43725&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43725&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43725&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43725&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43725&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43725&r=mysqlcfg

« previous php.doc.bugs (#401) next »