1--TEST--
2SPL: FixedArray: Trying to instantiate passing object to constructor parameter
3--FILE--
4<?php
5
6$b = new stdClass;
7
8$a = new SplFixedArray($b);
9
10?>
11--EXPECTF--
12Warning: SplFixedArray::__construct() expects parameter 1 to be long, object given in %s on line %d
13