![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: SplFixedArray::__construct() with float passed as parameter. 3: --CREDITS-- 4: PHPNW Test Fest 2009 - Jordan Hatch 5: --FILE-- 6: <?php 7: 8: $array = new SplFixedArray( 3.141 ); 9: 10: echo $array->getSize(); 11: 12: ?> 13: --EXPECT-- 14: 3