Manual union type ordering #21

Open
opened 2026-07-04 07:45:11 +02:00 by c.fahner · 0 comments
Owner

PHP does not preserve the declared order of union types when reflecting a function parameter. An attribute should be introduced to enforce a specific listed order.

If the listed types include types not in the native type (or vice versa), a ResourceException should be thrown.

PHP does not preserve the declared order of union types when reflecting a function parameter. An attribute should be introduced to enforce a specific listed order. If the listed types include types not in the native type (or vice versa), a `ResourceException` should be thrown.
c.fahner changed title from Manual ordering of types for union parameters to Manual union type ordering 2026-07-04 07:45:37 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
slendium/framework#21
No description provided.