1--TEST--
2Check removing an item from an array when the offset is not an integer.
3--CREDITS--
4PHPNW Testfest 2009 - Paul Court ( g@rgoyle.com )
5--FILE--
6<?php
7    // Create a fixed array
8    $fixedArray = new SplFixedArray(5);
9
10    // Fill it up
11    for ($i=0; $i < 5; $i++) {
12        $fixedArray[$i] = "PHPNW Testfest";
13    }
14
15    // remove an item
16    $fixedArray->offsetUnset("4");
17
18    var_dump($fixedArray);
19
20?>
21--EXPECT--
22object(SplFixedArray)#1 (5) {
23  [0]=>
24  string(14) "PHPNW Testfest"
25  [1]=>
26  string(14) "PHPNW Testfest"
27  [2]=>
28  string(14) "PHPNW Testfest"
29  [3]=>
30  string(14) "PHPNW Testfest"
31  [4]=>
32  NULL
33}
34