Added initial draft of PHP execution time limit support

- Currently naively hooks 'do...while' and 'while' loops with an expiry check for every iteration.
- Could be improved to only check every N iterations
- Still need to add support for other loop types, eg. 'for'