The expression is for calculating the form of a plural string for Gettext. Example:
$expr = 'n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2';
with eval I'm doing something like:
$expr = str_replace('n','$n', $expr); $n = 5; $result = (int)eval("return $expr;"); Can this be done without eval too?
.pofile this plural is given in the header? (I have no experience with the PHP implementation.) Maybe the plural declaration in the.pois missing? php.net/manual/en/function.dngettext.php