On 12 April 2023 23:50:25 BST, Dan Ackroyd <dan...@basereality.com> wrote:
>On Wed, 12 Apr 2023 at 17:32, Claude Pache <claude.pa...@gmail.com> wrote:
>>
>> The proposed modification of `function_exists()` will break existing code:
>
>Please can you submit a failing test to
>https://github.com/Girgias/php-src/tree/zend_autoloader that shows a
>BC break.


I see that George has added this test based on a previous example in this 
thread: 
https://github.com/php/php-src/blob/7aaae2efa080084035911065c346d5f8932b0d63/Zend/tests/autoloading/function/local_function_pinned-to_global.phpt

It currently enshrines the proposed change in behaviour, so if you want a test 
that passes on existing versions and fails on the current branch, just delete 
the last two lines in the EXPECT section.

Regards,

-- 
Rowan Tommins
[IMSoP]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to