<?php $v = '10155674128355111'; if (strlen($v) > 9) { echo (int)((int)substr($v, 0, 9) % 6 . substr($v, 9)) % 6; } else { echo (int)$v % 6; }
You have javascript disabled. You will not be able to edit any code.