Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92216 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86016 invoked from network); 12 Apr 2016 09:13:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Apr 2016 09:13:17 -0000 Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.114.167 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.114.167 spritz.beccati.com Received: from [176.9.114.167] ([176.9.114.167:50181] helo=mail.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/28-28094-82CBC075 for ; Tue, 12 Apr 2016 05:13:14 -0400 Received: (qmail 20330 invoked from network); 12 Apr 2016 09:13:09 -0000 Received: from home.beccati.com (HELO ?192.168.1.202?) (88.149.176.119) by mail.beccati.com with SMTP; 12 Apr 2016 09:13:09 -0000 To: Pierre Joye , Sebastian Bergmann References: <570C9101.5060500@php.net> Cc: PHP internals Message-ID: <570CBC1F.6050808@beccati.com> Date: Tue, 12 Apr 2016 11:13:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] UUID From: php@beccati.com (Matteo Beccati) 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/