Skip to content

Fix incorrect filename of dl()'d internal consts - #16721

Merged
iluuu1994 merged 1 commit into
php:masterfrom
iluuu1994:fix-filename-of-dld-internal-consts
Nov 7, 2024
Merged

iluuu1994 merged 1 commit into
php:masterfrom
iluuu1994:fix-filename-of-dld-internal-consts

Conversation

@iluuu1994

Copy link
Copy Markdown
Member

We should only attempt to fetch the current filename for user constants. dl() may attempt to register internal constants after execution has already started, thus incorrectly linking the user file invoking dl().

See GH-16663

We should only attempt to fetch the current filename for user constants. dl()
may attempt to register internal constants after execution has already started,
thus incorrectly linking the user file invoking dl().

See phpGH-16663
@iluuu1994
iluuu1994 force-pushed the fix-filename-of-dld-internal-consts branch from 30d18c6 to 8ad4996 Compare November 7, 2024 13:03

@cmb69 cmb69 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.

Thanks for fixing this!

@iluuu1994
iluuu1994 merged commit 452c5ac into php:master Nov 7, 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.

2 participants