Oh jeez...I do the same thing, and I was on a phone interview last night and we both had to do that during the phone call!
Let me put it this way: I've coded a ton of my own PHP, worked with hundreds (thousands?) of MySQL queries, messed with other languages, gotten knee deep in CSS and HTML...and it is always some
stupid mistake that hits me up! In MySQL, I can miss one single quote character, and a whole large query bombs out on me. In PHP, I can miss a closing "endif;" statement (I don't use curly braces--too hard for me to see, and too difficult for me to follow) or have one too many in a block of code, and throw the whole script off. Even if I indent! Can't even tell how many times I've fought with a page of PHP code, only to find I didn't "include()" a file that I needed.
Or to give you the short version: I take "...For Dummies" to a whole new level whenever I enter a room.