NameCaseLib/Tests/debug.php
2011-05-01 20:50:50 +03:00

10 lines
264 B
PHP

<?php
header('Content-type: text/html; charset=utf-8');
require '../Library/NCL.NameCase.ru.php';
$ob = new NCLNameCaseRu;
$ob->setSecondName('Чайка');
$ob->setGender(NCLNameCaseRu::$MAN);
print_r($ob->getSecondNameCase()); echo $ob->getSecondNameRule();
?>