ver.0.1
This commit is contained in:
1 parent
c60440d26a
commit
9d8e759172
4 files changed
+67
-29
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
function search(string $strFromFile, string $strForSearch): ?string
|
||||
{
|
||||
if($strFromFile) {
|
||||
if (preg_match($strForSearch, $strFromFile))
|
||||
return $strFromFile;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
Reference in new issue
Block a user