Please sign in to comment.
Fix fatal error if memory_get_usage() isn't available. Now benchmark(…
…) only return execution time in this case. memory_get_usage() might be unavailable before PHP5.2.1 if PHP wasn't compiled with option `--enable-memory-limit`. Add tests to control `benchmark()` return.
- Loading branch information...
Showing with 29 additions and 10 deletions.