--TEST-- uuid_generate_md5() function --SKIPIF-- --FILE-- getMessage() . "\n"; // PHP 8 echo "OK\n"; // PHP 8 } var_dump($a = uuid_generate_md5($uuid, "foo")); var_dump($b = uuid_generate_md5($uuid, "bar")); var_dump($a === $b); var_dump(uuid_type($a) == UUID_TYPE_MD5); var_dump(uuid_type($b) == UUID_TYPE_MD5); ?> Done --EXPECTF-- string(36) "%s" %A Argument #1 ($uuid_ns) UUID expecte%AOK string(36) "%s" string(36) "%s" bool(false) bool(true) bool(true) Done