public function hasValues()
    {
        $keys = array_values($this->data[0]);
        foreach ($this->data[1] as $key) {
            $this->failIf((!in_array($key, $keys)));
        }
    }
public function hasValues()
    {
        $keys = array_values($this->data[0]);
        foreach ($this->data[1] as $key) {
            $this->failIf((!in_array($key, $keys)));
        }
    }
public function hasValues ( ) { $ keys = array_values ( $ this -> data [ 0 ] ) ; foreach ( $ this -> data [ 1 ] as $ key ) { $ this -> failIf ( ( ! in_array ( $ key , $ keys ) ) ) ; } }
Assert an array has several values in any order.

@syntax array ?:array has values ?:array
Assert an array has several values in any order .