3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //Generator $snubmers = array(); $result = ''; for ( $i = 0; $i < 5000; $i++ ) { $snumber = str_split( substr( md5( $i . 'TISNLSENS21' ), 0, 9 ) ); array_splice( $snumber, 3, 0, '-' ); array_splice( $snumber, 7, 0, '-' ); //echo '\'' . strtoupper( implode( '', $snumber ) ) . '\','; //$result .= ( $i + 1 ) . '. '; strtoupper( implode( '', $snumber ) ) . "\n"; $result .= strtoupper( implode( '', $snumber ) ) . "\n"; } echo $result . '';