This commit is contained in:
stasbilay02 committed 2024-05-24 13:04:27 +03:00
1 parent c60440d26a
commit 9d8e759172
4 files changed
+67 -29

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
<?php
function search(string $strFromFile, string $strForSearch): ?string
{
if($strFromFile) {
if (preg_match($strForSearch, $strFromFile))
return $strFromFile;
}
return null;
}