PHP Classes

Notable PHP package: PHP Search Large Files

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 509

Last month viewers: 1

Categories: Notable Packages

PHP provides a great set of functions for manipulating and searching text. However the text to be searched needs to be loaded in memory as string.

If you need to search text in large files, the regular PHP string search functions will not do, because it may exceed the configured PHP memory limits.

The PHP class provides clever solutions to overcome the limitations of PHP string search functions so it can work on text from large files.

It can even perform regular expression matching on large text files.

Read this article to learn more details about how this notable PHP package works.




Loaded Article
The package PHP Search Large Files is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Search large files that would not fit in memory

Here follows in more detail what it does:

This class can search large files that would not fit in memory.

It provides several class functions with similar names to those that PHP provides for searching strings but it accesses the contents of large files without actually loading all at once in memory.

Currently it provides functions for searching case sensitive and insensitive text like strpos and stripos, search for multiple strings, get the contents of a section of a file like substr, and perform regular expression matching like pcre_match and pcre_match_all.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)