@alexdaubois@OndrejMirtes It is also falling back to mapping named arguments at runtime if the callee is known, but the arguments are not in order. And in case you are using named arguments at all, PHP emits an extra CHECK_UNDEF_ARGS opcode to execute at runtime (no idea about the overhead it adds).
π₯ Friend of the magazine @realFlowControl returns to close out our guide to investigation loops with profiling. Learn how to incorporate profiling to understand more about what your code is doing π₯ https://t.co/XBcEaANjf4
@alexdaubois It's a hack, it fills the array, but it also allocates all elements in the packed array or hash map in one go, so no reallocations needed π
@alexdaubois Try running with `$size = 2_097_152` and memory overhead for the array is just ~6% (due to the ^2 realloc). If you want to avoid the reallocations, use `array_fill(0, $size, 0);` to "pre-allocate" a packed array, which makes it faster then SplFixedArray
New year*, new parallel release:
v1.2.11 just landed with stability fixes π
https://t.co/9CVNg4X30h
* right on time for the Chinese New Year π₯π΄
Your favourite PHP multithreading extension just got tougher. `ext-parallel` v1.2.9 fixes crashes caused by doing things you technically shouldnβt do π
Better stability, fewer segfaults.
https://t.co/94GXfOUNj6
The 2026 State of Open Source Survey is live, and the #Zend team and I want to hear how you're using #PHP and other #OSS technologies.
Your anonymous answers will be used to build two industry reports, available free next year: https://t.co/dYFy8fzZxK
In February, youβll get the chance to meet an amazing group of people in London π¬π§ at the @PHPUKConference π
Grab your ticket at https://t.co/qdVOIPA2MO (if you have not already) and hit me up, if you want to talk about #performance and #observability in #PHP
π¨ Weβre excited to announce Florian Engelhardt as our next speaker!
As Software Engineer at Datadog, Florian builds the tools that give developers deep insights into their applications, including the PHP profiler.
In his talk, βThe Four Pillars of Observability.β He'll explore the four pillars of observability - metrics, logging, tracing, and profiling.
ποΈ Early Bird tickets are open now, don't miss out: https://t.co/LwBgdfarjN
#php #phpc #observability #monitoring #devops
The #longhornphp 2025 tutorial day is underway! @alenaholligan is presenting on BDD, @realFlowControl is walking through building an observability extension with Rust, and @DaveLiddament is diving into building custom Rector rules.
Thrilled to bring my workshop Observing PHP for Fun and Profit to @LonghornPHP this year! π
Weβll peek under the hood of the PHP engine and even build our own extension in Rust.
Come hack on internals with me π https://t.co/nR4cAAb1m3
We are excited to have @realFlowControl presenting a tutorial in addition to his keynote. We'll learn all about Observing PHP for Fun and Profit! Deep dive into the PHP engine internals and build a PHP extension to measure performance!
Join us at https://t.co/lH8lt2dHsa
Want to attend Longhorn PHP in person, but can't afford a ticket? Thanks to the PHP community, we have a few free tickets to give away to those who need it.
We're just asking for a $20 refundable deposit. Register here:
https://t.co/XvQAESl1Am