Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 663 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 663 Bytes

php-files-recursive-search

Description

  • We need to find all files that match regex recursively
  • Assume that file's content is only number
  • Make sum of all numbers of this found files
  1. You can add new folder on any level inside test-folder
  2. And create new count.txt file with your own number
  3. Run index.php and check that sum was changed

How to use it

  1. Clone repository
git clone https://github.com/vit-gon/php-files-recursive-search.git
  1. Navigate to repository directory
cd php-files-recursive-search
  1. Open CMD and run index.php
php index.php
  1. You should see [count.txt] | Sum: 10.100000 in the console