📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-29 13:02:17
📂
/
/
opt
/
alt
/
tests
/
alt-php81-pecl-uuid_1.2.0-2.el8
/
tests
✏️
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
💾 Save Changes
❌ Cancel