Posts Tagged ‘PHP’

Tip of the day: Loose comparisons in PHP gives edgy behaviour

Posted on May 27, 2009, 10:23, in Tip of the day, Web development | No Comments

This is an occasionally recurring issue: Using loose comparison (i.e. “==”, “!=”), instead of strict (i.e. “===”, “!==”), in PHP can give some unexpected results. Some of those are pretty logical – like an empty array compared to 0 or false, returns true – but others not quite that logical. Example // returns true “string” […]

  • Review: PHP 5 Social Networking
  • New job, quadcopter and more
  • If you think you might need to defragment
  • Why I use Opera over Firefox
  • Sad news – Smultron no longer supported
  • Opera Unite: Convenient tips and snippets for developers
  • Opera Wand security issue AKA how to get passwords saved in the Wand which you don’t remember
  • URLs should express output-format, not source-format
  • Adventures in Opera Unite
  • My favourite guitarists
  • Tip of the day: A good old SSH-timesaver
  • table-row-highlighter.js – now as jQuery-plugin
  • Categories