Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110074 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 308 invoked from network); 7 May 2020 20:58:03 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 7 May 2020 20:58:03 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 917CC1801FD for ; Thu, 7 May 2020 12:33:32 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS24940 116.202.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from outbound.soverin.net (outbound.soverin.net [116.202.65.215]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 7 May 2020 12:33:31 -0700 (PDT) Received: from smtp.freedom.nl (unknown [10.10.3.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 6834D61259; Thu, 7 May 2020 19:33:30 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [116.202.65.211]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1588880010; bh=JuW7b3yQ1fbhwO0DY7J5pInj/WlAkGZukMfBdpbiUOA=; h=Subject:To:References:From:Date:In-Reply-To:From; b=OAX3iUiZfqJlSk+4yNtaoPTmyjnnnPENLFqdFdKjac9+d75Nt26s6jRl82xgD2xsB bxv9oNwAkmCOt46whwIHdw/gGFlDIZjvPouidqxHcis5/WQR6a+HljUn7YzO5z77ia vUipm6rRcqKiqNvsXwAv7zW2VAoU02+iupRHXCDQ= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1588880010; bh=JuW7b3yQ1fbhwO0DY7J5pInj/WlAkGZukMfBdpbiUOA=; h=Subject:To:References:From:Date:In-Reply-To:From; b=OAX3iUiZfqJlSk+4yNtaoPTmyjnnnPENLFqdFdKjac9+d75Nt26s6jRl82xgD2xsB bxv9oNwAkmCOt46whwIHdw/gGFlDIZjvPouidqxHcis5/WQR6a+HljUn7YzO5z77ia vUipm6rRcqKiqNvsXwAv7zW2VAoU02+iupRHXCDQ= To: Larry Garfield , php internals References: <9e3b1604-8d0a-9db4-aab6-e5f2198252f4@allenjb.me.uk> <3a2924d2-31b9-fee5-5548-49c889eca2f4@heigl.org> Autocrypt: addr=d.h.j.takken@freedom.nl; keydata= xjMEXimHTRYJKwYBBAHaRw8BAQdAzvRUI24yOGvteVk9N6VKIt425fNgg0P1rvD2WQLGP+fN JERpayBUYWtrZW4gPGQuaC5qLnRha2tlbkBmcmVlZG9tLm5sPsKtBBMWCAA+FiEEvtrj9qG2 TA2YmjvLhef0X6cSlpAFAl4ph00CGwMFCQlmAYAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA IQkQhef0X6cSlpAWIQS+2uP2obZMDZiaO8uF5/RfpxKWkPywAQChh9Z1jSvitkT3sIipwMlk dnUlYY5Ue3lHBBhF6pQUOwD/XtEz/fsjvqE/GpjJhXpxNodwKjLhaUiFe9qRwwH/5QXOOARe KYdNEgorBgEEAZdVAQUBAQdAMNSCUI0PnOjjrFKZDAFRQzKLVDCINuFNgsXh0snmlUwDAQgH wpUEGBYIACYWIQS+2uP2obZMDZiaO8uF5/RfpxKWkAUCXimHTQIbDAUJCWYBgAAhCRCF5/Rf pxKWkBYhBL7a4/ahtkwNmJo7y4Xn9F+nEpaQEYUA/2mZ3uEN0JTRUZbxHGBMB4IhQw0cdIML FpFrTycqUCXCAQD5rWXomBWVD/DRHk7O3KjNsek9F1DEZgGeZ5pPmNF/Dg== Message-ID: <1491022f-36ab-9d3d-b4e7-daf3ae6820d4@freedom.nl> Date: Thu, 7 May 2020 21:33:28 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US X-Virus-Scanned: clamav-milter 0.102.2 at c03mi01 X-Virus-Status: Clean Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecating uniqid() From: d.h.j.takken@freedom.nl (Dik Takken) On 07-05-2020 17:24, Larry Garfield wrote: > Between preloading, PHP 7's improvements, FFI funkiness, and the upcoming JIT, there's been on and off discussion about moving much of the standard library from C to "PHP code that is bundled and preloaded automatically." A real "standard library" in PHP, rather than a bunch of bridged C functions that exist for the legacy reasons Dan notes above. > > Making that actually a thing would help obviate a lot of these issues, I think. It becomes no longer an implementation question but "just" a packaging question. I share Larry's feeling that perhaps the time is right to discuss a PHP library written in PHP once more. The possible advantages are stacking up. Even if we only manage to make this technically working and ship PHP 8 with an empty stub library it would be a major step. It could be extended in subsequent 8.x releases. We should not hijack this thread to discuss this though. Larry, since you got this started again, I guess the honor is yours to write an opening post and start a new thread? ;) Regards, Dik Takken