Mega Code Archive
In some application youll need to have zero filled values for example
Array(50,60,44,null,3);
To this
Array(050,060,044,000,003);
This could be usefull for example when you test user data with database values, or to do any math calculus ...
$v) {
echo "result $k = ".zerofilled($v,2)."\n";
}
?>