Skip to content

Copied reproduction code from bugs.php.net to phpt #212

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

rrehbein
Copy link

Original code submitted by datibbaw at php.net
Modified to use php://temp rather then a real file

Original code submitted by datibbaw at php.net
Modified to use php://temp rather then a real file
@laruence
Copy link
Member

@rrehbein
Copy link
Author

Personally, I like to skip touching the disk for tests if reasonably possible. As I understand it, tmpfile ends up touching the disk. php://temp shouldn't be touching the disk for such a small file.

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