Re: [PHP-DEV] [RFC proposal] Syntactic sugar for array push()

2025-09-12 Thread Ken Guest
But we already have $array[] = 1; - are you unaware of it or is there some other benefit to what you are suggesting? What might interest people would be a syntactic sugar/shorthand for array_pop but I have no idea what that might look like. On Fri, 12 Sept 2025 at 11:21, Dušan Kreheľ wrote: > A

Re: [PHP-DEV] [RFC] "Abstain" voting option for RFCs

2025-07-28 Thread Ken Guest
People can just abstain by not voting anyway - I really don't see what adding this would give us. On Sun, 27 Jul 2025 at 14:45, Derick Rethans wrote: > On 27 July 2025 14:09:50 BST, "Tim Düsterhus" wrote: > >Hi > > > >On 7/24/25 15:42, Larry Garfield wrote: > >> Just to clarify here, Single Tra

Re: [PHP-DEV] Iteration III: Packages (was Re: [PHP-DEV] [Initial Feedback] PHP User Modules - An Adaptation of ES6 from JavaScript)

2024-07-04 Thread Ken Guest
On Thu, 4 Jul 2024 at 07:32, Rob Landers wrote: > > My main feedback to PSR’s is that they are fundamentally broken due to > being outdated. The idea behind the standards is sound, but there are only > a few PSRs that are applicable to today’s PHP. When I look at creating new > libraries today, P

Re: [PHP-DEV] Two new functions array_first() and array_last()

2023-10-17 Thread Ken Guest
Having array_value_first and array_value_last to match the existing array_key_first and array_key_last functions make sense, and would seem to me to be more intuitive than function names that would not match that scheme. On Tue, 17 Oct 2023 at 10:41, Robert Landers wrote: > On Tue, Oct 17, 2023

[PHP-DEV] CVS Account Request: kguest

2007-04-18 Thread Ken Guest
I'm a developer for the Validate_IE pear class and would like to commit my own changes to CVS on David Coallier's ( aka davidc ) recommendation. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php