📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 03:00:33
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php84-pecl-uuid_1.2.0-2.el8
/
tests
📍 /opt/alt/tests/alt-php84-pecl-uuid_1.2.0-2.el8/tests
🔄 Refresh
✏️
Editing: uuid_create.phpt
Read Only
--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
💾 Save Changes
❌ Cancel