ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
File manager
File manager - Edit - /opt/alt/tests/alt-php83-pecl-uuid_1.2.0-1.el8/tests/uuid_create.phpt
Back
--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
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.09 |
proxy
|
phpinfo
|
Settings