Skip to content

Support optional suffix arg in tempnam - #11685

Open
athos-ribeiro wants to merge 1 commit into
php:masterfrom
athos-ribeiro:tempnam-suffix
Open

Support optional suffix arg in tempnam#11685
athos-ribeiro wants to merge 1 commit into
php:masterfrom
athos-ribeiro:tempnam-suffix

Conversation

@athos-ribeiro

Copy link
Copy Markdown
Contributor

Hi,

I am re-starting a discussion on tempnam suffix arg support in the internal mailing list. The idea is to either revive https://wiki.php.net/rfc/tempnam-suffix or start a new RFC to bring this one in.

There is a previous attempt to introduce a similar patch in #575.

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

Just added few more nits. I think the idea makes sense in general but might need a bit more time for discussion and possibly RFC as it seems it was requested before.

Comment threadext/standard/tests/file/tempnam_variation9.phpt Outdated
Comment threadext/standard/tests/file/tempnam_variation9.phpt Outdated
@athos-ribeiro

Copy link
Copy Markdown
ContributorAuthor

Thanks for the review, @bukka !

I addressed your nits and re-based my branch on master to fix the CI issues as well. Let's wait for possible inputs in the internals list then. I will wait a few days before starting a new RFC as well in case the original author decides to proceed with his RFC :)

Sign up for freeto 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

@athos-ribeiro@bukka