X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php82-pecl-uuid_1.2.0-1.el8/tests
opt
/
alt
/
tests
/
alt-php82-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_is_null.phpt
--TEST-- uuid_is_null() function --SKIPIF-- <?php if(!extension_loaded('uuid')) die('skip '); ?> --FILE-- <?php var_dump(uuid_is_null("00000000-0000-0000-0000-000000000000")); var_dump(uuid_is_null("b691c99c-7fc5-11d8-9fa8-00065b896488")); try { if (!uuid_is_null("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")) { echo "OK\n"; } } catch (ValueError $e) { echo $e->getMessage() . "\n"; // PHP 8 echo "OK\n"; } ?> --EXPECTF-- bool(true) bool(false) %A Argument #1 ($uuid) UUID expected%AOK
Upload File
Create Folder