Hi Andrew,

After digging around in the deb source I found that the entire
interface/library is completely changed and the old interface is no
longer available. Here is how you do what you are trying to do using
php5-dev.

uuid_create(&$uuid);
uuid_make($uuid, UUID_MAKE_V4);
uuid_export($uuid, UUID_FMT_STR, &$uuidstring);
echo trim($uuidstring);

There are more examples at:

http://www.php.net/manual/en/function.uniqid.php#88434

I was confused by this as well, because the pecl package for uuid still
uses the old interface. Not sure what the Ubuntu team did here, can
someone provide some insight? Is the pecl package out of date?

-- 
Cannot generate UUID
https://bugs.launchpad.net/bugs/283398
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to