This commit is contained in:
2024-05-24 13:04:27 +03:00
parent c60440d26a
commit 9d8e759172
4 changed files with 67 additions and 29 deletions

10
Search.php Normal file
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;
}