PHP Closing Tags Considered Harmful
It may be obvious to some, but this is a mistake I still see being made a lot, and I think it's high time we got over it.
Stop using PHP closing tags. It really is that simple, and here's why.
Read more »Beelzebub Crossword Solutions on Fifteensquared
I've recently been enjoying the Independent on Sunday's "Beelzebub" crossword, so I'm pleased to have today posted Fifteensquared's first Beelzebub solutions for some time - number 989.
I'll continue to blog the Beelzebub solutions each week for the time being, alongside my usual Independent slot. It's a great crossword, but perhaps a little obscure, so I'm secretly hoping this post may help generate a bit of search engine traffic, and a few people will drop by and help me out in the comments!
Read more »Syntax Highlighting with GeSHi
On this very site, I've recently started using GeSHi, to implement the rather nifty code syntax highlighting you see in posts like this and this.
I had previously been using PHP's built in highlight_string()
function, but that function is only of use for highlighting PHP code! As I often seem to need to highlight other languages, it was time to turn to GeSHi.
Since I did, a couple of people have asked about ease of use, implementation and so forth, so this post is my attempt at answering those questions.
Read more »