Re: [PHP-DEV] run-tests SKIPIF caching can be problematic for third-party extensions

2022-02-11 Thread Jeremy Mikola
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

Re: [PHP-DEV] Automatic implementation of Stringable may conflict with old, untyped arginfo declarations

2021-12-08 Thread Jeremy Mikola
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

Re: [PHP-DEV] Automatic implementation of Stringable may conflict with old, untyped arginfo declarations

2021-11-10 Thread 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

[PHP-DEV] Automatic implementation of Stringable may conflict with old, untyped arginfo declarations

2021-11-08 Thread 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.

Re: [PHP-DEV] run-tests SKIPIF caching can be problematic for third-party extensions

2021-09-15 Thread Jeremy Mikola
un-tests.php#L2127 [^3]: https://github.com/php/php-src/blob/php-8.0.10/run-tests.php#L2200 -- jeremy mikola

[PHP-DEV] run-tests SKIPIF caching can be problematic for third-party extensions

2021-09-15 Thread Jeremy Mikola
ll/6726 [3]: https://github.com/php/php-src/commit/4d43cbe333690171753e9b8663df93d3762e02a8 [4]: https://github.com/php/php-src/commit/0074a1d4e3a85d0d63118e7a30f4b7ed6da64695 -- jeremy mikola

Re: [PHP-DEV] [RFC] Iterable

2016-07-02 Thread Jeremy Mikola
tdClass to > be iterable. > Sounds good to me. Happy to hear it was discussed. Thanks! -- jeremy mikola

Re: [PHP-DEV] [RFC] Iterable

2016-06-30 Thread 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

[PHP-DEV] Naming of 'weak' type hints

2015-03-31 Thread Jeremy Mikola
concise term, without the negative connotation of weak/lax. -- jeremy mikola