[PHP-DEV] Re: [8.1] Release Manager Voting Opens

2021-04-26 Thread Ben Ramsey
> On Apr 26, 2021, at 14:47, Sara Golemon wrote: > > On Mon, Apr 12, 2021 at 2:40 PM Sara Golemon wrote: > Please take your newly reset authentication credentials over to > https://wiki.php.net/todo/php81 and place your ranked votes. > > > The voting for PHP 8.1 Release Managers has now close

[PHP-DEV] Re: [8.1] Release Manager Voting Opens

2021-04-26 Thread Sara Golemon
On Mon, Apr 12, 2021 at 2:40 PM Sara Golemon wrote: > Please take your newly reset authentication credentials over to > https://wiki.php.net/todo/php81 and place your ranked votes. > > The voting for PHP 8.1 Release Managers has now closed. In the first round, both Ben Ramsey and Patrick Allaert

Re: [PHP-DEV] [RFC] Partial function application

2021-04-26 Thread Levi Morrison via internals
On Sun, Apr 25, 2021 at 1:51 PM Olle Härstedt wrote: > > 2021-04-25 21:25 GMT+02:00, Larry Garfield : > > Greetings, Internalians! > > > > I would like to offer for your consideration another RFC, specifically > > syntax for partial function application. > > > > https://wiki.php.net/rfc/partial_fu

Re: [PHP-DEV] [RFC] Partial function application

2021-04-26 Thread Levi Morrison via internals
> If this is indeed the scenario, would it be worth adding a syntax to > indicate _all_ parameters can be placeholders? When a signature has > multiple arguments, `toString(?, ?, ?, ?)` could become `toString(...?)` or > maybe something like `toString(*)`? At the moment, there isn't any difference

Re: [PHP-DEV] [RFC][Draft] Sealed Classes

2021-04-26 Thread Christian Schneider
Am 26.04.2021 um 14:18 schrieb Ilija Tovilo : > The point of sealed type is to fix the number of subclasses a given > type can have, which means you can handle a value by type (as that > list is not finite). Code that handles Optional values could look like > this: > > ``` > if ($option instanceof

Re: [PHP-DEV] [RFC][Draft] Sealed Classes

2021-04-26 Thread Ilija Tovilo
Hi Christian On Mon, Apr 26, 2021 at 9:54 AM Christian Schneider wrote: > > Am 25.04.2021 um 05:47 schrieb Larry Garfield : > > In practice, I think all of the use cases for sealed classes are ADT-esque. > > As I noted before, combining sealed classes with Nikita's > > new-in-expressions RFC w

Re: [PHP-DEV] [RFC][Draft] Sealed Classes

2021-04-26 Thread David Gebler
Yes I agree Chris, this is the same kind of argument I am making. > Note that the *exact* same argument could be made for typing parameters. I can document via a docblock that I expect a given parameter to be a string, or a Request object, or whatever. "There is little to no benefit in expressing

[PHP-DEV] log_errors_max_len ini setting

2021-04-26 Thread Nikita Popov
Hi internals, In PHP 8.0, as part of some refactoring of the error handling system, I've accidentally dropped support for the log_errors_max_len ini setting. The setting still exists, but doesn't do anything. https://github.com/php/php-src/pull/6838 was opened to drop it entirely, rather than rei

Re: [PHP-DEV] [RFC] Partial function application

2021-04-26 Thread Lynn
On Sun, Apr 25, 2021 at 9:26 PM Larry Garfield wrote: > Greetings, Internalians! > > I would like to offer for your consideration another RFC, specifically > syntax for partial function application. > > https://wiki.php.net/rfc/partial_function_application > > It includes an implementation by Joe

Re: [PHP-DEV] RFC: mysqli::in_transaction

2021-04-26 Thread Gabriel O
What about OCI8 driver? That’s also included in core. Also a sidermark: SQLSrv and IBMDB2 are not part of core, but situation should be checked in those as well, since they are supported in DBA tooL Powered by Mailbutler

Re: [PHP-DEV] [RFC][Draft] Sealed Classes

2021-04-26 Thread Christian Schneider
Am 25.04.2021 um 05:47 schrieb Larry Garfield : > In practice, I think all of the use cases for sealed classes are ADT-esque. > As I noted before, combining sealed classes with Nikita's new-in-expressions > RFC would allow for this (also using my short-functions RFC for this example, > although

[PHP-DEV] RFC: mysqli::in_transaction

2021-04-26 Thread Grégoire PARIS
Hi, Grégoire Paris here! I'm a maintainer on Doctrine projects and today, I'd like to talk to you about something we would like to propose. We have found that PDO has a method called PDO::inTransaction() that we would like to mimic in the API of doctrine/dbal, a database abstraction layer many

Re: [PHP-DEV] [RFC][Draft] Sealed Classes

2021-04-26 Thread Olle Härstedt
2021-04-26 9:37 GMT+02:00, Pierre : > Le 26/04/2021 à 09:35, Olle Härstedt a écrit : >> 2021-04-26 9:22 GMT+02:00, Pierre : >>> Le 25/04/2021 à 21:22, Larry Garfield a écrit : Stitching together 2 replies to minimize thread noise... On Sun, Apr 25, 2021, at 11:58 AM, Michał Marcin Br

Re: [PHP-DEV] [RFC] Partial function application

2021-04-26 Thread Olle Härstedt
2021-04-26 0:19 GMT+02:00, Larry Garfield : > On Sun, Apr 25, 2021, at 4:34 PM, Olle Härstedt wrote: > > >> By the way, for pipe operators to be really useful, it should probably >> be possible to combine with middleware. >> >> Olle > > Pipes are their own RFC I plan to bring back up after this one

Re: [PHP-DEV] [RFC][Draft] Sealed Classes

2021-04-26 Thread Pierre
Le 26/04/2021 à 09:35, Olle Härstedt a écrit : 2021-04-26 9:22 GMT+02:00, Pierre : Le 25/04/2021 à 21:22, Larry Garfield a écrit : Stitching together 2 replies to minimize thread noise... On Sun, Apr 25, 2021, at 11:58 AM, Michał Marcin Brzuchalski wrote: Speaking of Attributes I prefer not

Re: [PHP-DEV] [RFC][Draft] Sealed Classes

2021-04-26 Thread Olle Härstedt
2021-04-26 9:22 GMT+02:00, Pierre : > Le 25/04/2021 à 21:22, Larry Garfield a écrit : >> Stitching together 2 replies to minimize thread noise... >> >> On Sun, Apr 25, 2021, at 11:58 AM, Michał Marcin Brzuchalski wrote: >> >>> Speaking of Attributes I prefer not to use an Attribute for any >>> part

Re: [PHP-DEV] [RFC][Draft] Sealed Classes

2021-04-26 Thread Pierre
Le 25/04/2021 à 21:22, Larry Garfield a écrit : Stitching together 2 replies to minimize thread noise... On Sun, Apr 25, 2021, at 11:58 AM, Michał Marcin Brzuchalski wrote: Speaking of Attributes I prefer not to use an Attribute for any particular language feature which expects input arguments