Re: [PHP-DEV] symbolic links and opcache peculiarity

2019-10-28 Thread Helmut K. C. Tessarek
On 2019-10-28 17:30, Eric Krona wrote: > This is a long-standing issue with the opcache, its frequently seen when > deploying code using a symlink swap as the final step to atomically launch > the new code. Thank you very much for your reply. However, in my case I was not really deploying someth

Re: [PHP-DEV] symbolic links and opcache peculiarity

2019-10-28 Thread Eric Krona
On 2019-10-24 02:03, Helmut K. C. Tessarek wrote: I'm not sure, if this is a bug or a peculiarity with opcache, but it's definitely not a user question thus I am poating it in internals. I came across a weird situation today that left me dumbfounded. I have the following symbolic link: index.p

[PHP-DEV] Sloppy parameter handling of some reflection methods

2019-10-28 Thread Christoph M. Becker
Hi, while working on the arginfo stubs for ext/reflection, I've noticed that several methods do very sloppy parameter handling, if called for static properties/methods. ReflectionMethod::getClosure(), ReflectionProperty::getValue() and ::isInitialized() don't do any parameter checks at all, while

Re: [PHP-DEV] Optional pre-compiler for PHP8?

2019-10-28 Thread Rowan Tommins
On Sun, 27 Oct 2019 at 23:56, Mike Schinkel wrote: > > So we'd probably need some built-in definition of a "package", which could > be analysed and compiled as one unit, and didn't rely on any run-time > loading. > > > That idea of a "package" came up during a debate on this list at least > once,

Re: [PHP-DEV] Optional pre-compiler for PHP8?

2019-10-28 Thread Benjamin Morel
> > This would break as soon as we have two versions of a class, and a > runtime choice which of them to use. > (see also Mark Randall's comment) That's why I'm suggesting to only make these optimizations when preloading is in use, which means that you know ahea

Re: [PHP-DEV] [VOTE] Object Initializer

2019-10-28 Thread Brent Roose
Hi Michał I can't help but wonder: why did you start the vote to begin with? It seemed to me that, based on the discussion feedback, it would never pass in its current form. Kind regards Brent > On 24 Oct 2019, at 09:41, Michał Brzuchalski > wrote: > > Hi all, > > I've closed the vote. Obj