load($_REQUEST); echo "
";
print_r($fullInformation);
$string = $fullInformation->toString();

$file = fopen($fileName, $fileModeOpen);
fwrite($file, $string);
fclose($file);

$file = fopen($fileName, "r");

$fullArr = array();

while (!feof($file)) {
    $str = fgets($file);
    if(search($str, '/\b(иванов)\b/ui')){
        $fullArr[] = $str;
/*        $obj = new Information();
        $obj->stringToParsingArray($str, $fullArr);*/
    }
}
echo "
";
print_r($fullArr);

//$arrKey = array('surname', 'name', 'patronymic', 'dateOfBirth', 'gender', 'countryCode', 'phoneNumber', 'email');
/*function fillArray($str, $arrKeys, $array): void
{
    if($str){
        $array = array_combine($arrKeys, explode(";", $str));
        echo "
";
        print_r($array);

    }
}*/
/*$strArray = explode(";", $str);
echo "
";
print_r($strArray);*/

//$array = array_combine($arrKey, explode(";", $str));
/*echo "
";
print_r($array);*/

// $array = array();

// fillArray($str, $arr, $array);

/*$obj = new Information();
$obj->load($array);

echo "
";
print_r($obj);*/

require "table.php";