ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- tests/uuid_create.phpt000064400000000761152343157640011112 0ustar00--TEST-- uuid_create() function --SKIPIF-- --FILE-- --EXPECT-- basic format ok tests/uuid_create_time_v7.phpt000064400000001473152343157640012545 0ustar00--TEST-- uuid_create() function for UUID_TYPE_TIME_V7 --SKIPIF-- --FILE-- --EXPECT-- basic format ok type check ok tests/uuid_compare.phpt000064400000001663152343157640011277 0ustar00--TEST-- uuid_compare() function --SKIPIF-- --FILE-- $uuid1) { foreach ($uuids as $key2 => $uuid2) { echo "uuid$key1"; switch (uuid_compare($uuid1, $uuid2)) { case -1: echo " < "; break; case 0: echo " = "; break; case 1: echo " > "; break; } echo "uuid$key2\n"; } echo "\n"; } ?> --EXPECT-- uuid0 = uuid0 uuid0 < uuid1 uuid0 < uuid2 uuid1 > uuid0 uuid1 = uuid1 uuid1 < uuid2 uuid2 > uuid0 uuid2 > uuid1 uuid2 = uuid2 tests/uuid_time.phpt000064400000000751152343157640010604 0ustar00--TEST-- uuid_time() function --SKIPIF-- --FILE-- getMessage() . "\n"; // PHP 8 echo "OK\n"; } ?> --EXPECTF-- int(1080374815) %A UUID DCE TIME expecte%AOK tests/uuid_generate_md5.phpt000064400000001414152343157640012202 0ustar00--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 tests/uuid_parse.phpt000064400000000335152343157640010756 0ustar00--TEST-- uuid_parse() function --SKIPIF-- --FILE-- --EXPECT-- string(16) "aaaaaaaaaaaaaaaa" tests/uuid_unparse.phpt000064400000000341152343157640011316 0ustar00--TEST-- uuid_unparse() function --SKIPIF-- --FILE-- --EXPECT-- string(36) "61616161-6161-6161-6161-616161616161" tests/uuid_generate_sha1.phpt000064400000001331152343157640012347 0ustar00--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 tests/uuid_is_null.phpt000064400000000754152343157640011316 0ustar00--TEST-- uuid_is_null() function --SKIPIF-- --FILE-- getMessage() . "\n"; // PHP 8 echo "OK\n"; } ?> --EXPECTF-- bool(true) bool(false) %A Argument #1 ($uuid) UUID expected%AOK tests/uuid_mac.phpt000064400000000665152343157640010412 0ustar00--TEST-- uuid_mac() function --SKIPIF-- --FILE-- getMessage() . "\n"; // PHP 8 echo "OK\n"; } ?> --EXPECTF-- string(12) "00065b896488" %A Argument #1 ($uuid) UUID DCE TIME expected%A OK tests/uuid_is_valid.phpt000064400000000627152343157640011442 0ustar00--TEST-- uuid_is_valid() function --SKIPIF-- --FILE-- --EXPECT-- bool(true) bool(true) bool(true) bool(false) tests/uuid_type.phpt000064400000001003152343157640010616 0ustar00--TEST-- uuid_type() function --SKIPIF-- --FILE-- --EXPECT-- OK OK OK tests/uuid_variant.phpt000064400000000641152343157640011310 0ustar00--TEST-- uuid_variant() function --SKIPIF-- --FILE-- --EXPECT-- 1 1 -1 tests/uuid_create_time_v6.phpt000064400000001473152343157640012544 0ustar00--TEST-- uuid_create() function for UUID_TYPE_TIME_V6 --SKIPIF-- --FILE-- --EXPECT-- basic format ok type check ok