芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/sebastian/Contains.php
_expected as $v) { $elements[] = (string) $v; } return '
'; } /** * Check if the actual value matches the expected. * * @template TMixed * * @param TMixed $actual * * @return bool */ public function match(&$actual) { $values = array_values($actual); foreach ($this->_expected as $exp) { $match = false; foreach ($values as $val) { if ($exp === $val || $exp == $val) { $match = true; break; } } if ($match === false) { return false; } } return true; } }