#50938 [Opn->Bgs]: $noofword=(str_word_count($description, 0)); 0 optional is not working with php

From: Date: Fri, 05 Feb 2010 12:21:28 +0000
Subject: #50938 [Opn->Bgs]: $noofword=(str_word_count($description, 0)); 0 optional is not working with php
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-147249@lists.php.net to get a copy of this message
ID: 50938 Updated by: johannes@php.net Reported By: deepika dot gupta at tecnovate dot co dot in -Status: Open +Status: Bogus Bug Type: Output Control Operating System: Linux PHP Version: 5.2.12 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. 5.0 is out of support for around 5 years. Previous Comments: ------------------------------------------------------------------------ [2010-02-05 12:03:24] deepika dot gupta at tecnovate dot co dot in Description: ------------ $noofword=(str_word_count($description, 1)); This function is not working with option 0. I am using PHP5.0 with linux server. Reproduce code: --------------- --- From manual page: function.str-word-count#Description --- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50938&edit=1

« previous php.bugs (#147249) next »