略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: EventHttpRequest::findHeader

2025-02-27

EventHttpRequest::findHeader

(PECL event >= 1.4.0-beta)

EventHttpRequest::findHeaderFinds the value belonging a header

说明

public EventHttpRequest::findHeader( string $key , string $type ): void

Finds the value belonging a header.

参数

key

The header name.

type

One of EventHttpRequest::*_HEADER constants .

返回值

Returns null if header not found.

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/eventhttprequest.findheader.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3