e sense. Would
> https://github.com/php/php-src/pull/7510 work for you?
>
Being able to completely opt-out of SKIPIF caching seems generally useful.
I'll take a look later today and provide some feedback on the PR. Thanks!
--
jeremy mikola
>
On Thu, Sep 23, 2021 at 10:23 AM Nikita
userland classes
automatically), and leave return type info absent for PHP 7.x. But if both
are viable solutions, I think I prefer the tentative return type info
approach.
--
jeremy mikola
pletely avoid a BC break
would be to continue to leave our return type info omitted (on both our
classes _and_ interfaces) and allow PHP 8.1+ to apply it automatically. Is
that correct?
--
jeremy mikola
h#L74
).
While that's a trivial change we can make in ext-mongodb, I wonder if this
may have been an unanticipated BC break for third-party extensions. I
imagine ext-mongodb is not the only extension with older arginfo
declarations predating the introduction of type reporting in later PHP
versions.
un-tests.php#L2127
[^3]: https://github.com/php/php-src/blob/php-8.0.10/run-tests.php#L2200
--
jeremy mikola
ll/6726
[3]:
https://github.com/php/php-src/commit/4d43cbe333690171753e9b8663df93d3762e02a8
[4]:
https://github.com/php/php-src/commit/0074a1d4e3a85d0d63118e7a30f4b7ed6da64695
--
jeremy mikola
tdClass to
> be iterable.
>
Sounds good to me. Happy to hear it was discussed. Thanks!
--
jeremy mikola
o an array
or decorate them with an Iterator (e.g. ArrayObject). I find this a bit
irksome, but it's certainly easy to work around.
That said, I realize that voting is in progress and it's not my intention
to interrupt anything. I just wanted to relay a viewpoint that might not
have come up.
--
jeremy mikola
concise term, without the negative connotation of
weak/lax.
--
jeremy mikola