Re: [PHP-DEV] [Vote] Partial Function Application

2021-06-19 Thread Mike Schinkel
> On Jun 18, 2021, at 7:41 PM, Benjamin Eberlei wrote: > > On Wed, Jun 16, 2021 at 6:17 PM Larry Garfield > wrote: > >> Hi folks. The vote for the Partial Function Application RFC is now open, >> and will run until 30 June. >> >> https://wiki.php.net/rfc/partial_function_application > > I wa

Re: [PHP-DEV] [Vote] Partial Function Application

2021-06-19 Thread Larry Garfield
On Sat, Jun 19, 2021, at 12:39 AM, Hamza Ahmad wrote: > HI Larry Garfield, > > Do you have a plan to further extend this rfc? I mean, what if one > could typecast place holders? Broadly speaking, what if one could > perform some operations, such as arithmetic, bitwise, and type cast as > said abov

Re: [PHP-DEV] [Vote] Partial Function Application

2021-06-19 Thread Larry Garfield
On Sat, Jun 19, 2021, at 3:22 AM, Mike Schinkel wrote: > Just to offer a counter perspective since the assertion was made that > partial functions would be hard for beginners. > > I believe beginners will have a harder time comprehending closures, and > especially short closures, than partial f

[PHP-DEV] Changes in pdo_sqlite and var_dump in PHP 8.1

2021-06-19 Thread Sergei Morozov
Hi Internals, While trying to run Doctrine DBAL test suite on PHP 8.1, I noticed a few differences in PHP 8.1 behavior compared to the earlier versions: 1. pdo_sqlite returns integer and decimal columns as PHP integers and floats respectively instead of representing them as numeric strings.

Re: [PHP-DEV] Changes in pdo_sqlite and var_dump in PHP 8.1

2021-06-19 Thread Nikita Popov
On Sat, Jun 19, 2021 at 7:32 PM Sergei Morozov wrote: > Hi Internals, > > While trying to run Doctrine DBAL test suite on PHP 8.1, I noticed a few > differences in PHP 8.1 behavior compared to the earlier versions: > >1. pdo_sqlite returns integer and decimal columns as PHP integers and >

Re: [PHP-DEV] Changes in pdo_sqlite and var_dump in PHP 8.1

2021-06-19 Thread Sergei Morozov
Perfect. Thanks, Nikita! On Sat, Jun 19, 2021 at 11:04 AM Nikita Popov wrote: > On Sat, Jun 19, 2021 at 7:32 PM Sergei Morozov wrote: > >> Hi Internals, >> >> While trying to run Doctrine DBAL test suite on PHP 8.1, I noticed a few >> differences in PHP 8.1 behavior compared to the earlier ver