Hi, On 12/04/2016 09:59, Pierre Joye wrote: >> Alternatively and maybe more portable, libuuid (should be part of all >> decent systems too) could be a first choice. > > Forgot to mention: https://pecl.php.net/package/uuid > >> BSD also provides >> compliant APIs as part of their libc >> (https://www.freebsd.org/cgi/man.cgi?query=uuid for freebsd f.e.).
I have worked on the addition of Linux libuuid + BSD support to Postgres 9.4 to the existing (deprecated) uuid-ossp a couple of years back. I pretty sure we can reuse some of that investigation / code for php too. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php