- substr: documentation ( source)
- array_splice: documentation ( source)
- print_r: documentation ( source)
- md5: documentation ( source)
<?php
$snubmers = array();
for ( $i = 0; $i < 199; $i++ )
{
$snumber = substr( md5( $i ), 0, 9 );
$snumber = array_splice( $snumber, 3, 0, '-' );
$snumbers[] = array_splice( $snumber, 6, 0, '-' );
}
print_r( $snumbers );