Benchmark your PHP code

As a developer I often question myself when I have many occurrences of a function that could be replaced by something else. There are often many ways of achieving the same thing and only opinion standing in the way of a decision. To solve this problem, I often benchmark certain peices of code multiple times [...]