Get only the values of current array.
public values ( ) : |
||
return | An ArrayObject containing only the values of current array. |
/** * @dataProvider arraySet1 */ public function testValues($array) { $a = new ArrayObject($array); $values = $a->values(); $this->assertSame(array_values($array), $values->val()); }