Past Meetup

Everybody Lies - PHP Zwolle October 2016

This Meetup is past

11 people went

Location image of event venue


This talk is about browser sniffing.

And yes, I do realise it is 2016. I know browser sniffing is ugly and we should all be using feature detection and build our front-end code to be more resilient. But there are legitimate uses for browser sniffing. We will dive into history and show the origin of the user agent string and the hidden battle between browser makers and web developers. We will see its simple beginnings and the horrible monstrosity it has become. And of course why building a browser sniffing library is difficult to do right. But when creating WhichBrowser - my own browser sniffing library written in PHP - I’ve also encountered some other technical challenges. We will talk about code coverage and testing without PHPUnit and a bit about using Travis for continues integration. And finally how I improved the performance by 400% by creating indices for the data files. This proved to be a challenge because the data files didn’t contain just strings, but also regular expressions. And how do you build an index for regular expressions?

Speaker - Niels Leenheer

He is the owner of the company Salonhub ( Niels is a self-professed browser geek. He runs one of the largest Open Device Labs in the world and is the creator of (


19.00 Welcome
19.30 Niels Leenheer - Everybody Lies
20.30 Socials and closing ( to leave the love about this event and talk