Has anyone written a Fast Algorithm that generates a LARGE dummy file in PHP, say 500MB-2GB?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you don’t care about the file contents at all, you can just seek to any position and write something:
If the OS and filesystem support sparse files, the file will be really big, but not actually take more than a couple of bytes of disk space.