Darn! I had tested this at some stage but somehow this slipped thru some weird brain fart of my.. raises important question about how do we test libs in PHP.. in Perl CPAN this is easy but nothing I can see exists for PHP to weed mistakes like this out...