- substr: documentation ( source)
- array_splice: documentation ( source)
- print_r: documentation ( source)
- implode: documentation ( source)
- strtoupper: documentation ( source)
- str_split: documentation ( source)
- md5: documentation ( source)
<?php
$snubmers = array();
for ( $i = 0; $i < 199; $i++ )
{
$snumber = str_split( substr( md5( $i ), 0, 9 ) );
array_splice( $snumber, 3, 0, '-' );
array_splice( $snumber, 7, 0, '-' );
echo strtoupper( implode( '', $snumber ) ) . "\n";
}
print_r( $snumbers );