PHP - Manual: VarnishAdmin::ban
2025-02-27
(PECL varnish >= 0.3)
VarnishAdmin::ban — Ban URLs using a VCL expression
$vcl_regex
vcl_regex
Varnish VCL expression. It's based on the varnish ban command.
Returns the varnish command status.
官方地址:https://www.php.net/manual/en/varnishadmin.ban.php