Initial commit

This commit is contained in:
2026-08-30 22:02:02 +00:00
commit b6bd2277f5
2334 changed files with 646393 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
<?php
return;
/**
* empty.php - Test HTTP endpoint that returns an empty response body.
*
* Used by FileTest to verify the `$ret === true` branch in getUrlData()
* when CURLOPT_RETURNTRANSFER is not set.
*/
+10
View File
@@ -0,0 +1,10 @@
<?php
/**
* large.php - Test HTTP endpoint that returns a large body.
*
* Used by FileTest to verify that the maxRemoteSize limit is enforced
* via the cURL progress callback.
*/
echo \str_repeat('X', 1000);
+4
View File
@@ -0,0 +1,4 @@
<?php
$target = isset($_GET['to']) && \is_string($_GET['to']) ? $_GET['to'] : '/empty.php';
\header('Location: ' . $target, true, 302);