Andy Warburton

Sleep Deprived Geek in Blunderland

@$%^&$%^@Ã?£% PHP! —

Grrr… sometimes I hate scripting – I just spent 30 minutes debugging a problem with a script, turns out I’d accidently movedÃ? a variable inside a conditional. Of course, if PHP was stricter it would have just told me that the variable wasn’t defined, instead it let me spend half an hour of my life trying to work out what the bloody hell I had done wrong.

Maybe it’s time to change the PHP config to strict mode… ;)


Categorised as: Geeky


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>