update : 2015.11.03
php.shukuma.com검색:
|
The SplFixedArray class(PHP 5 >= 5.3.0) 소개The SplFixedArray class provides the main functionalities of array. The main differences between a SplFixedArray and a normal PHP array is that the SplFixedArray is of fixed length and allows only integers within the range as indexes. The advantage is that it allows a faster array implementation. 클래스 개요/* 메소드 */
}예제
Example #1 SplFixedArray usage example
<?php 위 예제의 출력: NULL int(2) string(3) "foo" RuntimeException: Index invalid or out of range RuntimeException: Index invalid or out of range RuntimeException: Index invalid or out of range Table of Contents
|