Skip to content

random/standard: Correctly handle broken engines in php_array_pick_keys - #13138

Merged
TimWolla merged 2 commits into
php:PHP-8.2from
TimWolla:random-pickArrayKeys-exception
Jan 14, 2024
Merged

random/standard: Correctly handle broken engines in php_array_pick_keys#13138
TimWolla merged 2 commits into
php:PHP-8.2from
TimWolla:random-pickArrayKeys-exception

Conversation

@TimWolla

Copy link
Copy Markdown
Member

No description provided.

@TimWolla

Copy link
Copy Markdown
Member Author

Found another unhandled failure case specifically for pickArrayKeys.

@TimWolla
TimWolla force-pushed the random-pickArrayKeys-exception branch from d13cd79 to b60b8e5 Compare January 13, 2024 14:20
@TimWolla
TimWolla marked this pull request as ready for review January 13, 2024 14:20
@TimWolla
TimWolla force-pushed the random-pickArrayKeys-exception branch 2 times, most recently from fdb2b44 to 17e0c49 Compare January 13, 2024 14:26

@ndossche ndossche left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code change makes sense to me, just need to check why CI fails.

Comment thread ext/standard/array.c Outdated
Comment thread ext/standard/array.c Outdated
@TimWolla
TimWolla force-pushed the random-pickArrayKeys-exception branch from 17e0c49 to b195e50 Compare January 13, 2024 15:25
@TimWolla
TimWolla requested a review from ndossche January 13, 2024 15:56

@ndossche ndossche left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@Girgias Girgias left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense

@TimWolla
TimWolla merged commit 97c6da1 into php:PHP-8.2 Jan 14, 2024
@TimWolla
TimWolla deleted the random-pickArrayKeys-exception branch January 14, 2024 12:01
TimWolla added a commit that referenced this pull request Jan 14, 2024
* PHP-8.2:
  random/standard: Correctly handle broken engines in php_array_pick_keys (#13138)
TimWolla added a commit that referenced this pull request Jan 14, 2024
TimWolla added a commit that referenced this pull request Jan 14, 2024
* PHP-8.3:
  random/standard: Adjust #13138 for PHP 8.3
  random/standard: Correctly handle broken engines in php_array_pick_keys (#13138)
TimWolla added a commit to TimWolla/php-src that referenced this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants