PHP Classes

PHP Cuban Personal Identification Number Parser: Parse a Cuban personal identification number

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 18 All time: 11,233 This week: 206Up
Version License PHP version Categories
cuban-pin-parser 1.0Freeware5PHP 5, Geography, Parsers


This package is specific mainly for applications used in Cuba Cuba .

This class can parse a Cuban personal identification number.

It can take a Cuban personal identification number string and parses it to extract its components.

The class returns an array that contains the birth day, the gender and the age of the person that uses this number.

In Spanish:

Pasando como parametro el numero personal de identificacion utilizado en Cuba se obtiene un array con los valores: sexo, dia, mes y aņo de nacimiento y edad.

Picture of Dannel
  Performance   Level  
Name: Dannel <contact>
Classes: 9 packages by
Country: Cuba Cuba
Age: 30
All time rank: 30488 in Cuba Cuba
Week rank: 298 Up3 in Cuba Cuba Up
Innovation award
Innovation award
Nominee: 5x


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

<html xmlns="">


include 'CIman.php';
$obj=new cinspector;
<h1>Parsing a cuban identification number</h1>
 <h3>Example: 9416026621</h3>
<?php echo 'Date Of Birth: '.$data['year'].'/'.$data['month'].'/'.$data['day']; ?>

<?php echo 'Age: '.$data['age']; ?>

<?php echo 'Sex: '.$data['sex']; ?>



  Files folder image Files  
File Role Description
Plain text file CIman.php Class Main class
Accessible without login Plain text file Example.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:11,233
This week:206Up