Back Run bench2() first.| Source Test Once Encoding text data with base64 and utf8_encode |
| base64 x 3.07 faster | 0.0509 | utf8_encode | 0.1563 |
| Source Test Once Encoding binary data with base64 and utf8_encode |
| base64 x 5.30 faster | 0.1240 | utf8_encode | 0.6575 |
| Source Test Once Encoding binary data with base64 and rawurlencode |
| base64 x 4.73 faster | 0.1259 | rawurlencode | 0.5958 |
| Source Test Once Comparing checksums with crc32 and md5 |
| crc32 x 7.78 faster | 0.0009 | md5 | 0.0070 |
| Source Test Once Reading a binary file |
| fopen-fread-fclose x 1.15 faster | 0.4350 | file_get_contents | 0.5018 |
| Source Test Once Testing parse_ini_file vs assoc arrays (see http://www.sitepoint.com/blog-post-view.php?id=154126) |
| parse_ini_file x 1.14 faster | 0.4139 | assoc | 0.4735 |
Testing PHP 5.0.0RC2 Completed on WINNT. Benchmark done on: 03-May-2004 18:17:10