{
  "schema_version": 1,
  "status": "selected_article_blocks_executed",
  "guide_id": 1098,
  "guide_url": "https://mexela.com/blog/php-curl-proxy/",
  "executed_date": "2026-10-20",
  "runtime": "PHP 8.4.22 / libcurl 8.20.0 / OpenSSL 3.0.20 on Windows",
  "source_body_sha256": "aa1402244aa52859d86085eab69f4577657181d11293ebce1cb40494abe48ca8",
  "code_fingerprint": {
    "blocks": 3,
    "sha256": "0963def64c951970d437e75b98e669f3c226b190833dff846c3c10caec585abe"
  },
  "checks_passed": 15,
  "checks": [
    {
      "name": "direct HTTP baseline",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 200,
        "connect_status": 0,
        "curl_errno": 0,
        "route": "direct",
        "transfer_ms": 15.5
      }
    },
    {
      "name": "direct HTTPS with request CA",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 200,
        "connect_status": 0,
        "curl_errno": 0,
        "route": "direct",
        "transfer_ms": 61.3
      }
    },
    {
      "name": "authenticated HTTP forwarding",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 200,
        "connect_status": 0,
        "curl_errno": 0,
        "route": "http-proxy",
        "transfer_ms": 5.6
      }
    },
    {
      "name": "explicit proxy overrides inherited NO_PROXY",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 200,
        "connect_status": 0,
        "curl_errno": 0,
        "route": "http-proxy",
        "transfer_ms": 5.9
      }
    },
    {
      "name": "direct baseline overrides inherited proxy",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 200,
        "connect_status": 0,
        "curl_errno": 0,
        "route": "direct",
        "transfer_ms": 2.1
      }
    },
    {
      "name": "wrong HTTP proxy credentials stop at 407",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 407,
        "connect_status": 0,
        "curl_errno": 0,
        "route": null,
        "transfer_ms": 2
      }
    },
    {
      "name": "missing HTTP proxy credentials stop at 407",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 407,
        "connect_status": 0,
        "curl_errno": 0,
        "route": null,
        "transfer_ms": 2.5
      }
    },
    {
      "name": "wrong CONNECT credentials expose tunnel 407",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 0,
        "connect_status": 407,
        "curl_errno": 7,
        "route": null,
        "transfer_ms": 3.5
      }
    },
    {
      "name": "strict TLS rejects untrusted disposable certificate",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 0,
        "connect_status": 200,
        "curl_errno": 60,
        "route": null,
        "transfer_ms": 3.6
      }
    },
    {
      "name": "authenticated CONNECT with request CA succeeds",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 200,
        "connect_status": 200,
        "curl_errno": 0,
        "route": "http-proxy",
        "transfer_ms": 17.2
      }
    },
    {
      "name": "redirect is returned without following target",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 302,
        "connect_status": 0,
        "curl_errno": 0,
        "route": null,
        "transfer_ms": 3
      }
    },
    {
      "name": "stalled request respects finite total timeout",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 0,
        "connect_status": 0,
        "curl_errno": 28,
        "route": null,
        "transfer_ms": 351.3
      }
    },
    {
      "name": "authenticated SOCKS5 to strict HTTPS",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 200,
        "connect_status": 0,
        "curl_errno": 0,
        "route": "socks5",
        "transfer_ms": 17.6
      }
    },
    {
      "name": "standalone environment entry point omits endpoints credentials and body",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 200,
        "connect_status": null,
        "curl_errno": 0,
        "route": null,
        "transfer_ms": null
      }
    },
    {
      "name": "article PHP helper usage executes with real authenticated forwarding",
      "passed": true,
      "source_block_indices": null,
      "adaptations": null,
      "command": null,
      "result": {
        "http_status": 200,
        "connect_status": null,
        "curl_errno": 0,
        "route": null,
        "transfer_ms": null
      }
    }
  ],
  "findings": "The current article helper-usage block matched the existing native harness source and executed with real authenticated forwarding. Fifteen checks covered direct requests, explicit proxy routing, HTTP407, CONNECT407, trusted and untrusted TLS, a returned302 without following it, a stalled request, SOCKS5 to an IP-literal HTTPS target, and sanitized CLI output. The 350 ms timeout fixture stopped at approximately351ms in this run.",
  "limits": [
    "The helper download was already present locally; the standalone CURLOPT option list is a configuration fragment, not a complete program. SOCKS5 used an IP literal and does not prove proxy-side hostname resolution. Timing describes a local stalled fixture, not Mexela service speed or uptime.",
    "Local owned fixtures only. No production or commercial proxy requests, no public exit/geography/anonymity/speed/uptime certification, and no SEO or conversion effect inferred.",
    "Commands are the real invocation structure with local machine roots replaced; cached dependency locations and supplied environment values are intentionally not published.",
    "This dated receipt is an execution observation, not a claim that tested versions are the latest releases."
  ],
  "primary_documentation": "https://www.php.net/manual/en/function.curl-setopt.php",
  "helper_source_sha256": "2164a8bf5f53c343d04b5544f6b9080ec6979daa5d0da80973193cdf40eec997"
}
