编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Ds\Pair::clear
  • Ds\Pair::copy »
  • PHP Manual
  • Pair
  • Creates a new instance

Ds\Pair::__construct

(PECL ds >= 1.0.0)

Ds\Pair::__construct — Creates a new instance

说明

public Ds\Pair::__construct ([ mixed $key [, mixed $value ]] )

Creates a new instance using a given key and value.

参数

key

The key.

value

The value.

相关文章
php domentityreference creates a new domentityreference objectphp deque creates a new instancephp map creates a new instancephp map creates a new map using values from the current instance and another mapphp map creates a new map using keys of either the current instance or of another map but not of bothphp pair creates a new instancephp priorityqueue creates a new instancephp queue creates a new instancephp set creates a new instancephp set creates a new set using values from the current instance and another setphp set creates a new set using values in either the current instance or in another set but not in bothphp stack creates a new instancephp vector creates a new instancephp eventlistener creates new connection listener associated with an event basephp hyperwave api 函数 creates a new instance of class hwapi object newphp quickhashstringinthash creates a new quickhashstringinthash objectphp rrdcreator creates new rrdcreator instancephp rrdgraph creates new rrdgraph instancephp rrdupdater creates new rrdupdater instancephp swfmorph creates a new swfmorph object
关注编程学问公众号
编程学问网 湘ICP备20001732号