Month: September 2005

DomDocument::loadXml not throwing exceptions in PHP

DomDocument::loadXml not throwing exceptions in PHP

For some reason, Zend have decided not to make PHP throw an exception when you try and load invalid XML into a DomDocument object. This includes XML with invalid characters e.g. &. This means wrapping a try/catch around anything does absolutely no good whatsoever, which is annoying. Is there a good way of trapping runtime …

+ Read More

Joke

Joke

Recently a “Husband Super Store” opened where women could go to choose a husband from among many men. It was laid out over five floors, with the men increasing in positive attributes as you ascended. The only rule was, once you opened the door to any floor, you HAD to choose a man from that …

+ Read More

Leyton 2-1 Torquay

Leyton 2-1 Torquay

Leyton played superbly against Torquay last night for a well-deserved 3 points at home. There didn’t appear to be a weak link in the team, with the recently back Ibehre providing some dynamism that to-date had only been provided by Echanomi but with much more discipline. His goal was the result of an excellent move …

+ Read More

PHP aaaaarrrrrggggghhhhhh

PHP aaaaarrrrrggggghhhhhh

Things I hate about PHP No. 512 (notwithstanding the fact that in comparison to many other things I like PHP): Inconsistency in parameter ordering Say I want to find a small thing in a big thing, like a piece of a string in a bigger string. I can use strpos and you pass in the …

+ Read More

Anything to watch the footie

Anything to watch the footie

Gambian football fans must be dedicated – they managed to fake a fuel emergency on a plane to get it to land at a different airport so they could get to a match on time. BBC NEWS | World | Americas | Football fans fake air emergency

Telegraph Fantasy Football password

Telegraph Fantasy Football password

For all those waiting to see if the Carling Cup produced any injuries last night, here’s this week’s Telegraph Fantasy Football Password. Personally, I wish I’d waited to see how poor Spurs were before transferring Defoe in. My team also did pretty poorly last week, not helped by another rack of injuries and a general …

+ Read More

Walthamstow Dog Track

Walthamstow Dog Track

I went to Walthamstow Dog Track on Thursday evening. There are rumours it may be turned into a housing estate (as if there aren’t enough of them) so we’ve got to make some effort at keeping it going. The 6-pack deal gives you a scampi (or chicken) and chips, two £1 bets, and 2 drinks …

+ Read More

888.com unveils float price range

888.com unveils float price range

888, which owns Pacific Poker, is planning to float on the stock market, probably following the succes that Party Poker’s owners (Partygaming) have had. They’ve set a price which values the company at between £546.1m and £714.6m, although there are rumours that it’s cut its valuation following Partygaming’s profit warning. For anyone looking to invest …

+ Read More