1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00
Files
archived-php-src/ext/standard/tests/strings/md5_basic1.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

18 lines
436 B
PHP

--TEST--
Test md5() function : basic functionality
--FILE--
<?php
/* Prototype : string md5 ( string $str [, bool $raw_output= false ] )
* Description: Calculate the md5 hash of a string
* Source code: ext/standard/md5.c
*/
echo "*** Testing md5() : basic functionality ***\n";
var_dump(md5("apple"));
?>
===DONE===
--EXPECT--
*** Testing md5() : basic functionality ***
string(32) "1f3870be274f6c49b3e31a0c6728957f"
===DONE===