personId() 공개 정적인 메소드

Checks a social security number (BSN) for The Netherlands
public static personId ( string $check ) : boolean
$check string The value to check.
리턴 boolean Success.
예제 #1
0
 /**
  * test the ssn method of NlValidation
  *
  * @return void
  */
 public function testSsn()
 {
     $this->assertTrue(NlValidation::personId('187821321'));
     $this->assertTrue(NlValidation::personId('502222314'));
     $this->assertFalse(NlValidation::personId('18782132'));
     $this->assertFalse(NlValidation::personId('50222FZ'));
 }