Time run testing

I used your wrapper for some trivial PHC runtime testing. (Even this is enough to crash some code :)
Just in case you want to share it or reuse...
(Code uses GNU extension for clock_gettime and dynamic stack for buffer.)