Skip to content

pl_imiewolacz ​

php
string pl_imiewolacz(string $imie)

Looks up $imie in the database of Polish first names and returns its vocative form if found. If the name is not found, returns the supplied argument unchanged.

Example:

php
$imie = get_val("prop1");
$imie_wolacz = pl_imiewolacz($imie);
print("Dear ".$imie_wolacz);

Result:

Dear Danielu