Still looking for a PHP contractor….

At work I’m still looking for a short term PHP contractor. Perhaps I’m being unrealistic in my expectations/requirements (rate/location/duration/skills etc), but nevertheless…. As I’ve not found anyone via normal channels (twitter/phpwm user group etc) I thought I’d turn to a random recruitment agency (who I’d spoken to a week or so ago). Yesterday I interviewed… Continue reading Still looking for a PHP contractor….

PHP array and object addition and string indexing

While reading someone’s code, I came across the following sort of thing: function foo($config = array()) { $this->_config += $config; //… } To which I thought WTF? How does PHP cast an array to a number to perform addition? A few random tests later, it appears PHP joins the two arrays together, only adding indexes… Continue reading PHP array and object addition and string indexing