Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Fabrice Luraine
committed
May 30, 2011
1 parent
29edde0
commit ae734f7
Showing
2 changed files
with
29 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters