Files and Folders: tail
Bastian Gorke (contact me)
This class can be used to get the last lines of a file like the Unix tail command.
It can also filter the retrieved lines so only the lines that have a certain keyword or match a given regular expression are returned, like when using the Unix grep command.
It uses pure PHP commands so it can work on non-Unix like systems.
The maximum number of returned lines is configurable. The retrieved lines are returned as a text string. The retuned text may be highlighted or even formatted as an HTML list, or as XML document.
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Good (93.8%)
| Sufficient (75.0%)
| Sufficient (68.8%)
| Sufficient (68.8%)
| -
| -
| Sufficient (68.1%)
| 227 |
Click here for detailed information about this class on phpclasses.org