# Self-debugging code [closed]

Write a program using ASCII characters. Five alphanumeric (0-9, A-Z, a-z) characters will be inserted at random into your program's source code. Your task is to detect and output these characters inserted into your program.

Conditions

• Your code cannot use any form of backup file.
• Your code may produce any unnecessary error messages, provided these are distinguishable from the actual output.
• The output may be on the screen or into a file.
• The output may also contain unnecessary characters, but no extra alphanumeric characters (excluding error messages).

Winning

The post with the largest vote count wins.

## closed as unclear what you're asking by Blue, Mego♦, intrepidcoder, Alex A.Nov 10 '15 at 20:56

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• I'm confused about why the folder is relevant. Is this challenge the same as "Write a string so that when any five character are added in arbitrary positions, and the result is run as code, it prints those characters"? – xnor Nov 10 '15 at 9:31
• Hahaha. I hope this post doesn't get investigated for unintentional obscene language. I understand the word urbandictionary.com/define.php?term=bugger isn't used much in the USA. It was the line before "conditions" that made me LOL – Level River St Nov 10 '15 at 10:05
• @xnor Yes, it is the same. I just wanted to say that the file cannot access a backup of itself. – ghosts_in_the_code Nov 10 '15 at 11:09
• @steveverrill It was unintentional. I've edited. – ghosts_in_the_code Nov 10 '15 at 11:09
• @wizzwizz4, are you sure that your edit is not an other question? – Qwertiy Dec 15 '15 at 20:28

PHP will simply echo the source until it sees an opening code tag <?.