Read file contents and use a regular expression to find all occurrences of text in square brackets, and print that text to the console. contains and INDEX1.PHP file which when run reads a second file INDEX2.PHP containing a lorem text with some of the texts in square brackets. The INDEX1.PHP file reads the contents of the second in this case the INDEX2.PHP and echo its contents as well as print out the words in square brackets.
-
Notifications
You must be signed in to change notification settings - Fork 0
espac/read-and-sort-PHP
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Read file contents and use a regular expression to find all occurrences of text in square brackets, and print that text to the console. PHP
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published