pht\Vector::popPops a value to the vector 説明
public mixed pht\Vector::pop
( void
)
This method pops a value from the end of a vector (in constant time). Popping a value from an empty vector will result in an Error exception. パラメータこの関数にはパラメータはありません。 戻り値The value from the end of the vector. 例
例1 Popping a value from a vector
<?php 上の例の出力は以下となります。 int(2) |