Skip to content

Conversation

realpvz
Copy link
Contributor

@realpvz realpvz commented Sep 5, 2025

This adds three data-provider cases to providesPregReplaceArrayData() to cover common edge conditions while staying in plain PHP regex land:

  1. Non-sequential numeric keys are consumed in insertion order.

  2. Associative keys are consumed in insertion order (not by key or pointer).

  3. Falsy values ('0', 0, false, null) render as expected → 0|0||.

@taylorotwell taylorotwell merged commit fcc38ab into laravel:12.x Sep 7, 2025
65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants