3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $snubmers = array(); echo '('; for ( $i = 0; $i < 40; $i++ ) { $snumber = str_split( substr( md5( $i . 'KL1843LSFBB' ), 0, 9 ) ); array_splice( $snumber, 3, 0, '-' ); array_splice( $snumber, 7, 0, '-' ); echo '\'' . strtoupper( implode( '', $snumber ) ) . '\','; //echo strtoupper( implode( '', $snumber ) ) . "\n"; } echo ')'; ?>
Output for 5.0.0 - 7.1.0
('4AF-FA5-AB5','529-8AC-823','F35-E6E-617','F49-93F-2CF','27C-A60-B47','D83-F5D-58B','BC7-F90-B56','FF8-47D-686','275-646-974','C97-E75-C85','1F1-48F-3C8','629-6A8-A2E','530-BA1-E3A','E1A-E63-EEA','198-16F-250','2B6-35E-317','775-C9F-6E3','FCA-141-25F','560-846-0CD','8A3-A9B-537','FE7-A6E-13F','799-A0A-310','CCA-358-53C','9F8-38F-E1B','FA5-874-8B0','3E7-E2D-A66','A0E-40F-0EC','D43-9DD-E26','394-B36-905','DB4-C67-1C5','6A4-823-F18','E69-2E1-875','DE2-D64-24B','4DA-858-E7A','B06-514-7BB','3CE-DB9-F9A','A28-722-6FD','E91-B4C-2C3','288-7F3-E89','9A8-CF2-58A',)
Output for 4.4.5 - 4.4.9
( Fatal error: Call to undefined function: str_split() in /in/DS7mp on line 8
Process exited with code 255.
Output for 4.3.2 - 4.4.4
( Fatal error: Call to undefined function: str_split() in /in/DS7mp on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
( Fatal error: Call to undefined function: str_split() in /in/DS7mp on line 8