Skip to content

Instantly share code, notes, and snippets.

Edvard Vajgl abecko

Block or report user

Report or block abecko

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
abecko / verifyIC.php
Created Oct 20, 2016 — forked from dg/verifyIC.php
Ověření rodného čísla a IČ
View verifyIC.php
function verifyIC($ic)
// be liberal in what you receive
$ic = preg_replace('#\s+#', '', $ic);
// má požadovaný tvar?
if (!preg_match('#^\d{8}$#', $ic)) {
return FALSE;
You can’t perform that action at this time.