* are 5 valori posibile, anume:

* are 5 valori posibile, anume:

if

if ( fmod ( $year , 400 ) == 0 ) {

else

} else {

if

if ( ( fmod ( $year , 100 ) != 0 ) && ( fmod ( $year , 4 ) == 0 ) ) {

else

} else {

// an

// an

$an

$an = rand ( ( date ( "Y" ) - $maxim ) , ( date ( "Y" ) - 14 ) ) ;

if

if ( strlen ( $luna ) == 1 ) {

// an bisect?

// an bisect?

$an

if

if ( leapYear ( $an ) ) {

else

} else {

if

if ( $luna == 2 ) {

else

} else {

if

if (

else

} else {

if

if ( strlen ( $zi ) == 1 ) {

while

while (

if

if ( strlen ( $judet ) == 1 ) {

if

if ( strlen ( $registru ) == 2 ) {

$an

$cnpTemporar = $sex . substr ( $an , - 2 ) . $luna . $zi . $judet . $registru ;

for

for ( $i = 0 ; $i < 12 ; $i ++ ) {

if

if ( $cifraControl == 10 ) {

if

if ( $format == "xml" ) {

if

if ( $extra ) {

"</value>"

" \t \t <value>"

$ret .= " \t \t <value>" . $CNP . "</value>" . PHP_EOL ;

"</value>"

" \t \t <value>"

$ret .= " \t \t <value>" . ( ( $sex == 1 ) ? "masculin" : "feminin" ) . "</value>" . PHP_EOL ;