X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php83-pecl-uuid_1.2.0-1.el8/tests
opt
/
alt
/
tests
/
alt-php83-pecl-uuid_1.2.0-1.el8
/
tests
/
ðŸ“
..
📄
uuid_compare.phpt
(947 B)
📄
uuid_create.phpt
(497 B)
📄
uuid_generate_md5.phpt
(780 B)
📄
uuid_generate_sha1.phpt
(729 B)
📄
uuid_is_null.phpt
(492 B)
📄
uuid_is_valid.phpt
(407 B)
📄
uuid_mac.phpt
(436 B)
📄
uuid_parse.phpt
(221 B)
📄
uuid_time.phpt
(409 B)
📄
uuid_type.phpt
(515 B)
📄
uuid_unparse.phpt
(225 B)
📄
uuid_variant.phpt
(417 B)
Editing: uuid_create.phpt
--TEST-- uuid_create() function --SKIPIF-- <?php if(!extension_loaded('uuid')) die('skip '); ?> --FILE-- <?php // check basic format of generated UUIDs $uuid = uuid_create(); if (preg_match("/[[:xdigit:]]{8}-[[:xdigit:]]{4}-[[:xdigit:]]{4}-[[:xdigit:]]{4}-[[:xdigit:]]{12}/", $uuid)) { echo "basic format ok\n"; } else { echo "basic UUID format check failed, generated UUID was $uuid\n"; } ?> --EXPECT-- basic format ok
Upload File
Create Folder