On 2025-09-13 22:21, Rowan Tommins [IMSoP] wrote:
On 12 September 2025 20:02:04 BST, "Dušan Kreheľ" wrote:
Since we have an extremely well-established array_push shorthand, so don't need a new one, we could perhaps have
"<" for "at start", and "-" for "pop":
$foo[<] = $toUnshift;
$shifted = $
On 10/09/2025 20:57, Gregory Magarshak wrote:
Hi everyone. Just wanted to follow up on this. Is there any chance of
switch_global_context making it into PHP 9? This would be a huge
game-changer as e.g. FrankenPHP in worker mode could literally be up
to 100x faster than PHP-FPM! But right now, m
On 12 September 2025 20:02:04 BST, "Dušan Kreheľ" wrote:
>[+] array_push
>[-] array_pop
>[-<] array_shift
>
>array_unshift() is a special case of array_merge(), so it would then need
>syntactic sugar for merging arrays, or rather a reserved merge.
array_unshift is no more a special case of array_
Hi,
On Mon, Sep 8, 2025 at 4:48 PM Tim Düsterhus wrote:
> I disagree with the phrasing that the RFC passed with a “narrow margin”.
>
I just updated the wording so it now says:
> A recent RFC to deprecate the __sleep() and __wakeup() magic methods in
favor of __serialize() and __unserialize() p