PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2015-06-27 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 269 This week: 1All time: 7,245 This week: 1,047Up
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 United Kingdom

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:269
This week:1
All time:7,245
This week:1,047Up