Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
Document $suffix argument to tempnam()#12108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Merged
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
OskarStark approved these changesAug 7, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I guess it must be merged in 3.4, but we take care of it 👍🏻👌🏻
Uh oh!
There was an error while loading.Please reload this page.
Thanks. I added the |
OskarStark approved these changesAug 16, 2019
* 4.4: fix a typo in mailer docs (Mutliple -> Multiple)
* 4.4: [Cache] Fixed a minor RST syntax issue [Cache] Expand the docs about the cache chain Explain the prefix used for expressions in YAML files Minor tweak in a security expression explanation
* 5.0: [Cache] Fixed a minor RST syntax issue [Cache] Expand the docs about the cache chain Explain the prefix used for expressions in YAML files Minor tweak in a security expression explanation
* 4.4: Revert "Removed 4.4 versionadded from the 4.3 docs" Removed 4.4 versionadded from the 4.3 docs Update setup.rst Update messenger.rst
* 5.0: Revert "Removed 4.4 versionadded from the 4.3 docs" Removed 4.4 versionadded from the 4.3 docs Update setup.rst Update messenger.rst
* 4.4: Updated a link to Debug component Remove ErrorRenderer reference everywhere
* 5.0: Updated a link to Debug component Remove ErrorRenderer reference everywhere
* 4.4: Updated the location of the errors.xml file
* 5.0: Updated the location of the errors.xml file
* 4.4: Minor tweaks Fix 12273 Added new ErrorController
* 5.0: Minor tweaks Fix 12273 Added new ErrorController
* 5.0: Removed 4.4 versionadded and deprecations
* 4.4: Mentioned the PHP 7.4 class preloading Scalingo is another PaaS which supports Symfony
* 4.4: Minor Minor. refs#12949 [Translation] Added tip about the incompatibility of % character
* 5.0: Minor Minor. refs#12949 [Translation] Added tip about the incompatibility of % character
* 4.4: fix XML config example
* 5.0: fix XML config example
* 4.4: Promote usage of a single translation domain Move sidebar into a real section Removed Translation component documentation
* 5.0: Promote usage of a single translation domain Move sidebar into a real section Removed Translation component documentation
* 4.4: Removed leftover 3.4 versionadded directive
* 5.0: Removed leftover 3.4 versionadded directive
* 4.4: Added the other two removed component articles to the redirection map
* 5.0: Added the other two removed component articles to the redirection map
* 4.4: Fixed missing reference error
* 5.0: Fixed missing reference error
* 4.4: Fixed deadlink to Translation components docs
* 5.0: Fixed deadlink to Translation components docs
fabpot added a commit to symfony/symfony that referenced this pull requestFeb 4, 2020
…sne)This PR was submitted for the 4.4 branch but it was merged into the 5.1-dev branch instead (closes#33003).Discussion----------[Filesystem] Add $suffix argument to tempnam()| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#33002| License | MIT| Doc PR |symfony/symfony-docs#12108**Description**The `tempnam()` interface was previously:```phptempnam($dir, $prefix)```This adds a third argument, `$suffix`, that is appended to the filename after the random component. This defaults to `''` for backwards compatibility. This is quite useful when the temporary file is consumed for a specific purpose that expects a suffix.**Example**```php$filesystem->tempnam('/tmp', 'prefix_', '.png');```Would create a file like: `/tmp/prefix_abcd1234.png`.Commits-------ef12069 [Filesystem] Add $suffix argument to tempnam()
Thanks for your work on this new feature! |
OskarStark added a commit that referenced this pull requestFeb 4, 2020
OskarStark added a commit that referenced this pull requestFeb 4, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.