php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50938 $noofword=(str_word_count($description, 0)); 0 optional is not working with php
Submitted: 2010-02-05 12:03 UTC Modified: 2010-02-05 13:16 UTC
From: deepika dot gupta at tecnovate dot co dot in Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.2.12 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: deepika dot gupta at tecnovate dot co dot in
New email:
PHP Version: OS:

 

 [2010-02-05 12:03 UTC] 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
---



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-05 12:21 UTC] johannes@php.net
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.
 [2010-02-05 13:16 UTC] deepika dot gupta at tecnovate dot co dot in
Thank you for your support.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 18:01:31 2024 UTC