3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 );
Output for 5.5.0 - 7.1.0
CFC-D20-849 C4C-A42-38A C81-E72-8D9 ECC-BC8-7E4 A87-FF6-79A E4D-A3B-7FB 167-909-1C5 8F1-4E4-5FC C9F-0F8-95F 45C-48C-CE2 D3D-944-680 651-2BD-43D C20-AD4-D76 C51-CE4-10C AAB-323-892 9BF-31C-7FF C74-D97-B01 70E-FDF-2EC 6F4-922-F45 1F0-E3D-AD9 98F-137-082 3C5-9DC-048 B6D-767-D2F 376-93C-FC7 1FF-1DE-774 8E2-96A-067 4E7-32C-ED3 02E-74F-10E 33E-75F-F09 6EA-9AB-1BA 341-73C-B38 C16-A53-20F 636-4D3-F0F 182-BE0-C5C E36-985-3DF 1C3-83C-D30 19C-A14-E7E A5B-FC9-E07 A57-71B-CE9 D67-D8A-B4F D64-592-0E3 341-6A7-5F4 A1D-0C6-E83 17E-621-66F F71-771-63C 6C8-349-CC7 D9D-4F4-95E 67C-6A1-E7C 642-E92-EFB F45-7C5-45A C0C-7C7-6D3 283-802-3A7 9A1-158-154 D82-C8D-161 A68-4EC-EEE B53-B3A-3D6 9F6-140-8E3 72B-32A-1F7 66F-041-E16 093-F65-E08 072-B03-0BA 7F3-9F8-317 44F-683-A84 03A-FDB-D66 EA5-D2F-1C4 FC4-90C-A45 329-5C7-6AC 735-B90-B45 A3F-390-D88 14B-FA6-BB1 7CB-BC4-09E E2C-420-D92 32B-B90-E89 D2D-DEA-18F AD6-1AB-143 D09-BF4-154 FBD-793-9D6 28D-D2C-795 35F-4A8-D46 D1F-E17-3D0 F03-3AB-37C 43E-C51-7D6 977-8D5-D21 FE9-FC2-89C 68D-30A-959 3EF-815-416 93D-B85-ED9 C7E-124-9FF 2A3-8A4-A93 764-796-6B7 861-398-5EC 542-29A-BFC 92C-C22-753 98D-CE8-3DA F4B-9EC-30A 812-B4B-A28 266-57D-5FF E2E-F52-4FB ED3-D2C-219 AC6-27A-B1C F89-913-9DF 38B-3EF-F8B EC8-956-637 697-4CE-5AC C9E-107-4F5 65B-9EE-A6E F09-35E-4CD A97-DA6-29B A3C-65C-297 272-3D0-92B 5F9-3F9-835 698-D51-A19 7F6-FFA-A6B 732-78A-4A8 5FD-0B3-7CD 2B4-492-8AE C45-147-DEE EB1-60D-E1D 5EF-059-938 07E-1CD-7DC DA4-FB5-C6E 4C5-6FF-4CE A0A-080-F42 202-CB9-62A C8F-FE9-A58 3DE-F18-4AD 069-059-B7E EC5-DEC-CA5 76D-C61-1D6 D1F-491-A40 9B8-619-251 1AF-A34-A7F 65D-ED5-353 9FC-3D7-152 025-22A-2B2 7F1-DE2-9E6 42A-0E1-88F 398-8C7-F88 013-D40-716 E00-DA0-3B6 138-597-4ED 0F2-8B5-D49 A8B-AA5-655 903-CE9-225 0A0-9C8-844 2B2-4D4-950 A5E-001-323 8D5-E95-7F2 47D-1E9-905 F22-170-62E 7EF-605-FC8 A8F-15E-DA8 37A-749-D80 B3E-3E3-93C 1D7-F7A-BC1 2A7-9EA-27C 1C9-AC0-159 6C4-B76-1A2 064-096-632 140-F69-69D B73-CE3-98C BD4-C9A-B73 82A-A4B-0AF 077-7D5-C17 FA7-CDF-AD1 976-652-7F2 7E7-757-B1E 587-8A7-AB8 006-F52-E91 363-663-881 149-E96-77A A4A-042-CF4 1FF-8A7-B5D F7E-6C8-550 BF8-229-696 821-612-428 38A-F86-134 96D-A2F-590 8F8-551-796 8F5-329-5A7 045-117-B0E FC2-213-097 4C5-BDE-74A CED-EBB-6E8 6CD-D60-EA0 EEC-CA5-B63 987-2ED-9FC 31F-EFC-0E5 9DC-B88-E01 A25-57A-7B2 CFE-CDB-276 0AA-188-3C6 58A-2FC-6ED BD6-86F-D64 A59-7E5-050 033-6DC-BAB 084-B6F-BB1 85D-8CE-590 0E6-597-2DC Notice: Undefined variable: snumbers in /in/W1acR on line 13
Output for 5.0.0 - 5.4.45
CFC-D20-849 C4C-A42-38A C81-E72-8D9 ECC-BC8-7E4 A87-FF6-79A E4D-A3B-7FB 167-909-1C5 8F1-4E4-5FC C9F-0F8-95F 45C-48C-CE2 D3D-944-680 651-2BD-43D C20-AD4-D76 C51-CE4-10C AAB-323-892 9BF-31C-7FF C74-D97-B01 70E-FDF-2EC 6F4-922-F45 1F0-E3D-AD9 98F-137-082 3C5-9DC-048 B6D-767-D2F 376-93C-FC7 1FF-1DE-774 8E2-96A-067 4E7-32C-ED3 02E-74F-10E 33E-75F-F09 6EA-9AB-1BA 341-73C-B38 C16-A53-20F 636-4D3-F0F 182-BE0-C5C E36-985-3DF 1C3-83C-D30 19C-A14-E7E A5B-FC9-E07 A57-71B-CE9 D67-D8A-B4F D64-592-0E3 341-6A7-5F4 A1D-0C6-E83 17E-621-66F F71-771-63C 6C8-349-CC7 D9D-4F4-95E 67C-6A1-E7C 642-E92-EFB F45-7C5-45A C0C-7C7-6D3 283-802-3A7 9A1-158-154 D82-C8D-161 A68-4EC-EEE B53-B3A-3D6 9F6-140-8E3 72B-32A-1F7 66F-041-E16 093-F65-E08 072-B03-0BA 7F3-9F8-317 44F-683-A84 03A-FDB-D66 EA5-D2F-1C4 FC4-90C-A45 329-5C7-6AC 735-B90-B45 A3F-390-D88 14B-FA6-BB1 7CB-BC4-09E E2C-420-D92 32B-B90-E89 D2D-DEA-18F AD6-1AB-143 D09-BF4-154 FBD-793-9D6 28D-D2C-795 35F-4A8-D46 D1F-E17-3D0 F03-3AB-37C 43E-C51-7D6 977-8D5-D21 FE9-FC2-89C 68D-30A-959 3EF-815-416 93D-B85-ED9 C7E-124-9FF 2A3-8A4-A93 764-796-6B7 861-398-5EC 542-29A-BFC 92C-C22-753 98D-CE8-3DA F4B-9EC-30A 812-B4B-A28 266-57D-5FF E2E-F52-4FB ED3-D2C-219 AC6-27A-B1C F89-913-9DF 38B-3EF-F8B EC8-956-637 697-4CE-5AC C9E-107-4F5 65B-9EE-A6E F09-35E-4CD A97-DA6-29B A3C-65C-297 272-3D0-92B 5F9-3F9-835 698-D51-A19 7F6-FFA-A6B 732-78A-4A8 5FD-0B3-7CD 2B4-492-8AE C45-147-DEE EB1-60D-E1D 5EF-059-938 07E-1CD-7DC DA4-FB5-C6E 4C5-6FF-4CE A0A-080-F42 202-CB9-62A C8F-FE9-A58 3DE-F18-4AD 069-059-B7E EC5-DEC-CA5 76D-C61-1D6 D1F-491-A40 9B8-619-251 1AF-A34-A7F 65D-ED5-353 9FC-3D7-152 025-22A-2B2 7F1-DE2-9E6 42A-0E1-88F 398-8C7-F88 013-D40-716 E00-DA0-3B6 138-597-4ED 0F2-8B5-D49 A8B-AA5-655 903-CE9-225 0A0-9C8-844 2B2-4D4-950 A5E-001-323 8D5-E95-7F2 47D-1E9-905 F22-170-62E 7EF-605-FC8 A8F-15E-DA8 37A-749-D80 B3E-3E3-93C 1D7-F7A-BC1 2A7-9EA-27C 1C9-AC0-159 6C4-B76-1A2 064-096-632 140-F69-69D B73-CE3-98C BD4-C9A-B73 82A-A4B-0AF 077-7D5-C17 FA7-CDF-AD1 976-652-7F2 7E7-757-B1E 587-8A7-AB8 006-F52-E91 363-663-881 149-E96-77A A4A-042-CF4 1FF-8A7-B5D F7E-6C8-550 BF8-229-696 821-612-428 38A-F86-134 96D-A2F-590 8F8-551-796 8F5-329-5A7 045-117-B0E FC2-213-097 4C5-BDE-74A CED-EBB-6E8 6CD-D60-EA0 EEC-CA5-B63 987-2ED-9FC 31F-EFC-0E5 9DC-B88-E01 A25-57A-7B2 CFE-CDB-276 0AA-188-3C6 58A-2FC-6ED BD6-86F-D64 A59-7E5-050 033-6DC-BAB 084-B6F-BB1 85D-8CE-590 0E6-597-2DC
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/W1acR</b> on line <b>6</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/W1acR</b> on line <b>6</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/W1acR</b> on line <b>6</b><br />