Re: [PHP-DEV] Introducing compile time code execution to PHP preloading

2020-01-12 Thread Robert Hickman
I would say that my proposal is more about compile-time meta programming, and thus would not actually depend on preloading. It could also be ran during page requests and would be cached by opcache in the same way. However running it in that way could make the initial request before the opcodes are

Re: [PHP-DEV] Introducing compile time code execution to PHP preloading

2020-01-12 Thread Mike Schinkel
> On Jan 12, 2020, at 1:57 PM, Larry Garfield wrote: > > Most notably, *not all code will be run in a preload context*. Can you give some concrete examples here? > Language features that only sometimes work scare me greatly. Do you have some examples of language features, from PHP or anot

Re: [PHP-DEV] Bump required libcurl version to 7.17.1

2020-01-12 Thread G. P. B.
On Sun, 12 Jan 2020 at 23:33, Levi Morrison via internals < internals@lists.php.net> wrote: > On Sat, Jan 11, 2020 at 4:57 AM Olumide Samson > wrote: > > > > Why not the most recent and stable version? > > > > I'm thinking modern version has many bugs fixed and many vulnerabilities > > fixed, eve

Re: [PHP-DEV] Bump required libcurl version to 7.17.1

2020-01-12 Thread Levi Morrison via internals
On Sat, Jan 11, 2020 at 4:57 AM Olumide Samson wrote: > > Why not the most recent and stable version? > > I'm thinking modern version has many bugs fixed and many vulnerabilities > fixed, even with improvements that make things more faster and lighter... Using the most recent version would make i

Re: [PHP-DEV] Introducing compile time code execution to PHP preloading

2020-01-12 Thread Robert Hickman
> Once you are in a live environment you want a read-only file system, for > security and auditability. Code generation at that point is then impossible. > Moving that code gen to a preloader wouldn't help with that. My proposal has no impact on the file system. It would modify the AST, and th

Re: [PHP-DEV] Introducing compile time code execution to PHP preloading

2020-01-12 Thread Larry Garfield
On Sat, Jan 11, 2020, at 6:40 AM, Robert Hickman wrote: > With PHP having recently introduced preloading, i have been thinking > about the possibility of adding a system whereby arbitrary php code > can run during this step. Essentially, this would serve the same > function as 'compile time executi

[PHP-DEV] turkish documentation

2020-01-12 Thread Midori Koçak
Hello, I would like to translate some of the 7.4 documentation into turkish. It seems like wiki username and password does not work for documentation. I could not find the list of language mail lists as well. (it says doc-{LANG}@lists.php.net but where?) Any ideas? Thanks, Midori