OpenSwoole\Core\Psr\ServerRequest->getQueryParam

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

Declaration

<?php OpenSwoole\Core\Psr\ServerRequest->getQueryParam($key, $default = false)

Parameters

key

Key of query string arguments.

default

Default value if the key does not exists at the query string arguments.

Return

Description

Retrieve query string arguments.

Last updated on September 23, 2022