| 
update : 2015.11.03
php.shukuma.com 검색:
  | SplFixedArray::fromArray(PHP 5 >= 5.3.0) SplFixedArray::fromArray — Import a PHP array in a SplFixedArray instance 설명
   public static SplFixedArray SplFixedArray::fromArray
    ( array  $array[, bool$save_indexes= true
  ] )
   Import the PHP array  인수
 
 반환값Returns an instance of SplFixedArray containing the array content. 예제
 Example #1 SplFixedArray::fromArray() example 
<?php위 예제의 출력: 
object(SplFixedArray)#1 (4) {
  [0]=>
  int(2)
  [1]=>
  int(1)
  [2]=>
  NULL
  [3]=>
  int(3)
}
object(SplFixedArray)#2 (3) {
  [0]=>
  int(1)
  [1]=>
  int(2)
  [2]=>
  int(3)
}
 |