Re: [PHP-DEV] RFC: Increasing the default BCrypt cost

2023-09-12 Thread Hans Henrik Bergan
>you're also measuring the startup cost of PHP itself. yup correct >A simple microtime(true) benchmark loop as used with my test script should be >fine for ballpark estimates agreed >dwarfing the measurement overhead. wouldn't count out random cpu context switch/background noise completely, s

Re: [PHP-DEV] RFC Proposal: Readonly Structs in PHP

2023-09-12 Thread Larry Garfield
On Fri, Sep 8, 2023, at 1:12 PM, Lanre Waju wrote: > Dear PHP Internals, > > I am writing to propose a new feature for PHP that introduces the > concept of structs. This feature aims to provide a more concise and > expressive way to define and work with immutable data structures. Below > is a de

Re: [PHP-DEV] [RFC][Draft] Match block

2023-09-12 Thread Larry Garfield
On Fri, Sep 8, 2023, at 10:16 PM, Ilija Tovilo wrote: > Hello everyone > > I've been working on match blocks over the last few weeks. > https://wiki.php.net/rfc/match_blocks > > I've already shared it in R11 and got conflicting feedback, which > makes me unsure on how to proceed. We have a few opti

Re: [PHP-DEV] RFC: Increasing the default BCrypt cost

2023-09-12 Thread Tim Düsterhus
Hi On 9/12/23 17:56, Hans Henrik Bergan wrote: web hosters *love* their ancient hardware No kidding. dreamhost.com host over 1.5 million websites, presumably most are on their "Shared Unlimited" package, which runs on AMD Opteron 4122, a high-end server CPU from 2010. Some benchmarks there:

Re: [PHP-DEV] RFC: Increasing the default BCrypt cost

2023-09-12 Thread Hans Henrik Bergan
>web hosters *love* their ancient hardware No kidding. dreamhost.com host over 1.5 million websites, presumably most are on their "Shared Unlimited" package, which runs on AMD Opteron 4122, a high-end server CPU from 2010. Some benchmarks there: hanshenrik@jonathan-dayton:~$ cat /proc/cpuinfo | h

Re: [PHP-DEV] A new JIT engine for PHP-8.4/9

2023-09-12 Thread Björn Larsson via internals
Den 2023-09-11 kl. 11:28, skrev Dmitry Stogov: Hi internals, I'm glad to present a new JIT engine that is going to be used in the next major PHP version. Now it's a real optimizing compiler with Intermediate Representation similar to Java HotSpot server compiler. It makes a base for future impr

[PHP-DEV] Re: [PECL-DEV] PHP Servers SSL Certificate Expiry

2023-09-12 Thread Derick Rethans
Hi, I (and Rasmus) have now updated TLS certificates on all the servers that I am aware off (and have access to). They are now automated with Let's Encrypt. I also have a todo item every month to check whether the certs actually renewed. If there are currently still *.php.net sites that have H