Re: [PHP-DEV] [RFC] Bundling ext/simdjson into core

2020-12-29 Thread Remi Collet
Le 29/12/2020 à 17:57, Máté Kocsis a écrit : Hi Internals, I think this will be my last proposal for quite some while :) But this time, I'd like to propose bundling the https://github.com/crazyxman/simdjson_php extension with some major modifications. The proposed OO API is included in the desc

Re: [PHP-DEV] Re: Moving from SVN to git - finally!

2020-12-29 Thread G. P. B.
On Wed, 30 Dec 2020 at 01:06, Tiffany Taylor wrote: > On Tue, Dec 29, 2020 at 4:44 PM 😉 Good Guy 😉 wrote: > > > On 29/12/2020 20:01, Tiffany Taylor wrote: > > > On Tue, Dec 29, 2020, 1:11 PM 😉 Good Guy 😉 > > > wrote: > > > > > > On 29/12/2020 18:34, Andreas Heigl

Re: [PHP-DEV] Re: Moving from SVN to git - finally!

2020-12-29 Thread Tiffany Taylor
On Tue, Dec 29, 2020 at 4:44 PM 😉 Good Guy 😉 wrote: > On 29/12/2020 20:01, Tiffany Taylor wrote: > > On Tue, Dec 29, 2020, 1:11 PM 😉 Good Guy 😉 > > wrote: > > > > On 29/12/2020 18:34, Andreas Heigl wrote: > > > > > > Tomorrow we will remove docs-karma from

Re: [PHP-DEV] Re: Moving from SVN to git - finally!

2020-12-29 Thread 😉 Good Guy 😉
On 29/12/2020 20:01, Tiffany Taylor wrote: On Tue, Dec 29, 2020, 1:11 PM 😉 Good Guy 😉 > wrote: On 29/12/2020 18:34, Andreas Heigl wrote: > > Tomorrow we will remove docs-karma from SVN, do a final transition and > then add doc-karma to git. Then all

Re: [PHP-DEV] Analysis of property visibility, immutability, and cloning proposals

2020-12-29 Thread Rowan Tommins
On 29/12/2020 18:38, Olle Härstedt wrote: Instead of shoe-horning everything into the PHP object system, did anyone consider adding support for records instead, which would always be immutable, and could support the spread operator for cloning-with similar as in JavaScript or OCaml? They could be

Re: [PHP-DEV] Re: Moving from SVN to git - finally!

2020-12-29 Thread G. P. B.
Just for information I'm working on establishing a revcheck from git, I'm expecting this to be done within the next couple of days as last year I was playing around making doc.php.net a static website built via GitLab CI. This would also take care of mapping SVN revision to git commits, such a ha

Re: [PHP-DEV] Analysis of property visibility, immutability, and cloning proposals

2020-12-29 Thread Rowan Tommins
On 29/12/2020 10:28, Olle Härstedt wrote: I just want to mention that immutability might be applied too liberally in the current discourse, and in some cases, what you really want is*non-aliasing*, that is, uniqueness, to solve problems related to immutability. I think methods like `withX` is an

Re: [PHP-DEV] Analysis of property visibility, immutability, and cloning proposals

2020-12-29 Thread Thomas Nunninger
Am 28.12.20 um 21:23 schrieb Larry Garfield: There's been a number of discussions of late around property visibility and how to make objects more immutable. Since it seems to have been well-received in the past, I decided to do a complete analysis and context of the various things that have b

Re: [PHP-DEV] Re: Moving from SVN to git - finally!

2020-12-29 Thread Tiffany Taylor
On Tue, Dec 29, 2020, 1:11 PM 😉 Good Guy 😉 wrote: > On 29/12/2020 18:34, Andreas Heigl wrote: > > > > Tomorrow we will remove docs-karma from SVN, do a final transition and > > then add doc-karma to git. Then all contributions to the > > PHP-Documentation will be via git.php.net > > > > Why kill

[PHP-DEV] Re: Moving from SVN to git - finally!

2020-12-29 Thread 😉 Good Guy 😉
On 29/12/2020 18:34, Andreas Heigl wrote: Tomorrow we will remove docs-karma from SVN, do a final transition and then add doc-karma to git. Then all contributions to the PHP-Documentation will be via git.php.net Why kill it so soon?  Keep it for two or three more weeks in tandem with  GIT fo

[PHP-DEV] Re: Moving from SVN to git - finally!

2020-12-29 Thread Yannick Torrès
Hi all, As I can understand, tomorrow, edit.php.net will be stopped... and revcheck.php was not ready. So, how translators can see witch files is outdated ? Best, Yannick Le mar. 29 déc. 2020 à 19:34, Andreas Heigl a écrit : > Hey folks! > > After some years we are finally at the point to do

Re: [PHP-DEV] Analysis of property visibility, immutability, and cloning proposals

2020-12-29 Thread Olle Härstedt
2020-12-29 15:38 GMT, Larry Garfield : > On Tue, Dec 29, 2020, at 2:26 AM, Marc wrote: >> >> On 28.12.20 21:23, Larry Garfield wrote: >> > There's been a number of discussions of late around property visibility >> > and how to make objects more immutable. Since it seems to have been >> > well-rece

[PHP-DEV] Moving from SVN to git - finally!

2020-12-29 Thread Andreas Heigl
Hey folks! After some years we are finally at the point to do what so many have been asking for: We will move the source-control of the PHP-Documentation from SVN to git! Tomorrow! TL;DR Tomorrow we will remove docs-karma from SVN, do a final transition and then add doc-karma to git. Then all c

Re: [PHP-DEV] Proposal: Adding SplFixedArray->push() and SplFixedArray->pop()

2020-12-29 Thread tyson andre
Hi Benjamin Morel, > Did you have a look at ext-ds? It provides several very efficient data > structures: > https://github.com/php-ds/ext-ds > > I would love if this extension could find its way into core, actually. Yes, I have looked at ext-ds. I asked the maintainer about that a 3 months ago.

Re: [PHP-DEV] Proposal: Adding SplFixedArray->push() and SplFixedArray->pop()

2020-12-29 Thread Benjamin Morel
On Tue, 29 Dec 2020 at 18:04, tyson andre wrote: > Hi Internals, > > Currently, PHP doesn't have a built in memory-efficient array type with > convenient push, pop, and other operations, similar to a list/vector in > other languages. > The closest built in in SPL is [SplFixedArray]( > https://www

[PHP-DEV] Proposal: Adding SplFixedArray->push() and SplFixedArray->pop()

2020-12-29 Thread tyson andre
Hi Internals, Currently, PHP doesn't have a built in memory-efficient array type with convenient push, pop, and other operations, similar to a list/vector in other languages. The closest built in in SPL is [SplFixedArray](https://www.php.net/manual/en/class.splfixedarray.php) https://www.php.n

[PHP-DEV] [RFC] Bundling ext/simdjson into core

2020-12-29 Thread Máté Kocsis
Hi Internals, I think this will be my last proposal for quite some while :) But this time, I'd like to propose bundling the https://github.com/crazyxman/simdjson_php extension with some major modifications. The proposed OO API is included in the description of the PR that I've just created: https

[PHP-DEV] Re: Github Mirrors of git.php.net/docs

2020-12-29 Thread Christoph M. Becker
On 29.12.2020 at 11:35, Andreas Heigl wrote: > After Nikitas merge I transfered the changes to the euk2-box and since > the 27th of December 2020 16:30H UTC the PHP-documentation is building > from git instead of SVN. \o/ > Additionally I just realized that the link on each docs-page to "edit" >

Re: [PHP-DEV] [RFC] Enumerations, Round 2

2020-12-29 Thread Larry Garfield
On Tue, Dec 29, 2020, at 2:48 AM, Marc wrote: > > On 28.12.20 21:21, Larry Garfield wrote: > > Hello, Internalians! > > > > After considerable discussion and effort, Ilija and I are ready to offer > > you round 2 on enumerations. This is in the spirit of the previous > > discussion, but based o

Re: [PHP-DEV] Analysis of property visibility, immutability, and cloning proposals

2020-12-29 Thread Larry Garfield
On Tue, Dec 29, 2020, at 2:26 AM, Marc wrote: > > On 28.12.20 21:23, Larry Garfield wrote: > > There's been a number of discussions of late around property visibility and > > how to make objects more immutable. Since it seems to have been > > well-received in the past, I decided to do a complet

[PHP-DEV] Re: Github Mirrors of git.php.net/docs

2020-12-29 Thread Andreas Heigl
Hey Lists, hey Nikita. Just to give some feedback. Am 27.12.20 um 14:59 schrieb Nikita Popov: > On Sun, Dec 27, 2020 at 11:30 AM Andreas Heigl > wrote: > [...] > I don't think fixing revcheck in advance is particularly important, I > just want to retain the current for

Re: [PHP-DEV] Analysis of property visibility, immutability, and cloning proposals

2020-12-29 Thread Olle Härstedt
2020-12-29 8:26 GMT, Marc : > > On 28.12.20 21:23, Larry Garfield wrote: >> There's been a number of discussions of late around property visibility >> and how to make objects more immutable. Since it seems to have been >> well-received in the past, I decided to do a complete analysis and context >

Re: [PHP-DEV] Re: Improving PRNG implementation.

2020-12-29 Thread Marc
Hi zeriyoshi, On 23.12.20 14:41, zeriyoshi wrote: > Thanks tyson. > >> This would also make it easier to use those generators in brand new > algorithms that weren't in the initial RFC. >> (or in algorithms written by users in PHP) > This suggestion seems to make sense. Maybe the RNG should only fo

Re: [PHP-DEV] [RFC] Enumerations, Round 2

2020-12-29 Thread Marc
On 28.12.20 21:21, Larry Garfield wrote: > Hello, Internalians! > > After considerable discussion and effort, Ilija and I are ready to offer you > round 2 on enumerations. This is in the spirit of the previous discussion, > but based on that discussion a great deal has been reworked. The main

Re: [PHP-DEV] Analysis of property visibility, immutability, and cloning proposals

2020-12-29 Thread Marc
On 28.12.20 21:23, Larry Garfield wrote: > There's been a number of discussions of late around property visibility and > how to make objects more immutable. Since it seems to have been > well-received in the past, I decided to do a complete analysis and context of > the various things that ha