Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Ds\Pair::clearDs\Pair::copy>
^Ds\PairLast updated: Mon, 26 Oct 2026

Ds\Pair::__construct

(PECL ds >= 1.0.0)

Ds\Pair::__construct — Creates a new instance

Description

public function Ds\Pair::__construct(mixed $key = ?, mixed $value = ?)

Creates a new instance using a given key and value.

Parameters

key

The key.

value

The value.


<Ds\Pair::clearDs\Pair::copy>
^Ds\PairLast updated: Mon, 26 Oct 2026