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
<?php | |
/** | |
* PHP StartsWith and EndsWith Function Benchmarks | |
* | |
* Function implementations taken from: | |
* https://stackoverflow.com/q/834303/87015 | |
* | |
* Command line: | |
* php.exe -d memory_limit=128M startswith-endswith-benchmark.php | |
*/ |