PHP Classes

PHP Character Counter: Count characters and words of UTF-8 files

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 280 This week: 1All time: 7,609 This week: 560Up
Version License PHP version Categories
content-counter 1.0.0MIT/X Consortium ...5.3PHP 5, Text processing, Console
Description 

Author

This class can count characters and words of UTF-8 files.

It can read a given text file and strip line break characters to count its characters and words in several ways.

Currently it counts the number of characters considering they are encoded in UTF-8 and also count the number of words.

The class outputs the number of characters and words to the console.

Counts the characters and words to the provided file.

Picture of Nicola Pietroluongo
  Performance   Level  
Name: Nicola Pietroluongo <contact>
Classes: 2 packages by
Country: United Kingdom
Age: ???
All time rank: 3427152 in United Kingdom
Week rank: 411 Up12 in United Kingdom Up

  Files folder image Files  
File Role Description
Plain text file counter.php Class main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:280
This week:1
All time:7,609
This week:560Up