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