Skip to content

pl_imiedeklinacja ​

php
string pl_imiedeklinacja ( string $imie, sting $odmiana )

Returns a Polish first name inflected for the specified grammatical case.

Provide the first name in $imie and the grammatical case in $odmiana.

Supported cases (use the Polish values shown below):

  • wołacz - vocative
  • dopełniacz - genitive
  • celownik - dative
  • biernik - accusative
  • narzędnik - instrumental
  • miejscownik - locative

Example:

php
$imie = 'Janusz';
$odmiana = 'biernik';

print(pl_imiedeklinacja($imie, $odmiana));

Result:

Janusza