source:
branches/version-2_13-dev/data/module/Compat/tests/function/md5_file.phpt
@
20119
| Revision 20119, 256 bytes checked in by nanasess, 15 years ago (diff) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | --TEST-- |
| 2 | Function -- md5_file |
| 3 | --SKIPIF-- |
| 4 | <?php if (function_exists('md5_file')) { echo 'skip'; } ?> |
| 5 | --FILE-- |
| 6 | <?php |
| 7 | require_once 'PHP/Compat.php'; |
| 8 | PHP_Compat::loadFunction('md5_file'); |
| 9 | |
| 10 | echo md5_file(__FILE__); |
| 11 | ?> |
| 12 | --EXPECT-- |
| 13 | 762a55bb01c6133a956599e6a51c49b0 |
Note: See TracBrowser
for help on using the repository browser.
