PHP sample file
php_sample_file_200KB.php
200.0 KB
application/octet-stream
SHA256 verified
File details
Filename
php_sample_file_200KB.phpSize200.0 KB (204800 bytes)
MIME type
application/octet-streamExtension
.phpSHA256
6f1c56b0815c89e873df50ec11fb46fdbb58f361478646291f79847d9b11b18bDownload commands
Use in scripts and tests
curl -L -o php_sample_file_200KB.php \
https://samplefile.com/samples/download/code/php/php_sample_file_200KB.php/
wget -O php_sample_file_200KB.php \
https://samplefile.com/samples/download/code/php/php_sample_file_200KB.php/
import requests
url = "https://samplefile.com/samples/download/code/php/php_sample_file_200KB.php/"
resp = requests.get(url)
with open("php_sample_file_200KB.php", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/php/php_sample_file_200KB.php/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("php_sample_file_200KB.php", buf);
# Download and verify SHA256
curl -L -o php_sample_file_200KB.php https://samplefile.com/samples/download/code/php/php_sample_file_200KB.php/
echo "6f1c56b0815c89e873df50ec11fb46fdbb58f361478646291f79847d9b11b18b php_sample_file_200KB.php" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/php/php_sample_file_200KB.php/").content
assert hashlib.sha256(data).hexdigest() == "6f1c56b0815c89e873df50ec11fb46fdbb58f361478646291f79847d9b11b18b"
More PHP files
Other PHP Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
php_sample_file_1MB.php |
1.0 MB | cd36afa942cd689f… |
Download |
php_sample_file_2MB.php |
2.0 MB | 0c6d53ddce0e102e… |
Download |
php_sample_file_500KB.php |
500.0 KB | 0b5f5f41662f8623… |
Download |
php_sample_file_50KB.php |
50.0 KB | 6f3655968087df2e… |
Download |
php_sample_file_5MB.php |
5.0 MB | a2aa8c6dc33da861… |
Download |
Learn more