Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92229 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18451 invoked from network); 12 Apr 2016 14:16:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Apr 2016 14:16:58 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.177 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.214.177 mail-ob0-f177.google.com Received: from [209.85.214.177] ([209.85.214.177:33874] helo=mail-ob0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 54/E0-13103-8530D075 for ; Tue, 12 Apr 2016 10:16:57 -0400 Received: by mail-ob0-f177.google.com with SMTP id bg3so12264010obb.1 for ; Tue, 12 Apr 2016 07:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=3Dp5khCMidsBMX0l7rPmjFcFgIAuJhzuWL8nlQQoits=; b=fo4YQi90EYFkqSusnRhMGdX1HdiAnfIegjbN0cZkrbr+l7ZdeKnim10XBOlNfnRvHn b2+L7vFNrHYgeLhP5UQj4NKMXNa5rUfk6okHvg4wsLzysUQvu9BLZEI9aEqF6gDbBXDf f83FLuhfz22Utmf6B5xSp5IbkAdRvdzunKfUmgpspO+ljGYKC2FxnIcLY0ZBmZ00G+xX J+QVfzjdoOkrQGIdZqamCIos2xlP/HRbR63dSsMR9iAX/w9J0ObHeifWkpIy/sBre1gQ IHAzL6SyAe3KC1ffNQiyDYtLvre6Bp+pjvzkXOaVwYxKAZPhLps8FSZ1626xk5aaROzT aEPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=3Dp5khCMidsBMX0l7rPmjFcFgIAuJhzuWL8nlQQoits=; b=kBfkc5GmWR+8ttzVZyesaA1LYzw48h89R4Lbt7oqJ0cPQdFuUSdcS5KFL9yYUskzqg AF+7HEvf5OorXERuRZCMjdUFOO8/8JrVif7NIBL8yQVUNIXvvzk6tfmm1LZnKrzXcgnm eclvRwJHNLIxP53KtcTaoC1CNq3+5WEEienSO4Y9k87nmvpck4KLlYNKVtkFTXH2eOsx FMIlKq0q0uf/1Qc9o8UzoPpIjNYQA/6/mUAQU5Xs0UU3ruoKgtlN6+uO50JLbkKC+LWd /5oyPDIY5g7BTf0qn4UjvfmyQfJe/IW8LLl6rxJarMkQ7bEXM+cwBF+yiF1cgBItZfVs EswQ== X-Gm-Message-State: AOPr4FW6PoKpt91IhOFvgq4NRM/uznLKPQouxqDVVekCw46/0o4SqEviXm3qV2orjhbUvuMHIE6k14f1s/x/VA== MIME-Version: 1.0 X-Received: by 10.182.53.170 with SMTP id c10mr1656289obp.75.1460470613638; Tue, 12 Apr 2016 07:16:53 -0700 (PDT) Received: by 10.202.215.193 with HTTP; Tue, 12 Apr 2016 07:16:53 -0700 (PDT) In-Reply-To: <570CFACC.2010202@fedoraproject.org> References: <570C9101.5060500@php.net> <570CFACC.2010202@fedoraproject.org> Date: Tue, 12 Apr 2016 21:16:53 +0700 Message-ID: To: Remi Collet Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] UUID From: pierre.php@gmail.com (Pierre Joye) On Tue, Apr 12, 2016 at 8:40 PM, Remi Collet wrote: > Perhaps, no need to reinvent the wheel... > > There is already 2 uuid extensions > > - the one provided in the libuuid sources > - the pecl one : https://pecl.php.net/package/uuid > > No need to create more confusion. > > If something missing, just add it in the existing pecl ext. > > If needed, open a RFC to merge the extension in php. This is why I referred to this extension and lib. However they are only based on libuuid. We still need to support windows and I would prefer to use libc's uuid for BSD. I think pecl's uuid could be good start to make it more portable across system. The API is already clear (generation and comparison, not sure we need much more). I am not sure either about the various platforms and what they support in term of UUID versions. We have to clarify this point before anything can be merged. Cheers, -- Pierre @pierrejoye | http://www.libgd.org