91亚洲精品福利在线播放,欧美日韩国产在线人成app,天天躁日日躁疯人影院,sao虎视频最新网站入口,精品久久久久久中文字幕女

Ds\Stack::__construct

(PECL ds >= 1.0.0)

Ds\Stack::__constructCreates a new instance

說(shuō)明

public Ds\Stack::__construct(mixed $values = ?)

Creates a new instance, using either a traversable object or an array for the initial values.

參數

values

A traversable object or an array to use for the initial values.

范例

示例 #1 Ds\Stack::__construct() example

<?php
$stack 
= new \Ds\Stack();
print_r($stack);

$stack = new \Ds\Stack([123]);
print_r($stack);
?>

以上例程的輸出類(lèi)似于:

Ds\Stack Object
(
)
Ds\Stack Object
(
    [0] => 3
    [1] => 2
    [2] => 1
)
91亚洲精品福利在线播放,欧美日韩国产在线人成app,天天躁日日躁疯人影院,sao虎视频最新网站入口,精品久久久久久中文字幕女