芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/yiisoft/yii2-debug/src/components/search/matchers/SameAs.php
* @since 2.0 */ class SameAs extends Base { /** * @var bool if partial match should be used. */ public $partial = false; /** * {@inheritdoc} */ public function match($value) { if (!is_scalar($value)) { $value = VarDumper::export($value); } if ($this->partial) { return mb_stripos($value, $this->baseValue, 0, \Yii::$app->charset) !== false; } return strcmp(mb_strtoupper($this->baseValue, \Yii::$app->charset), mb_strtoupper($value, \Yii::$app->charset)) === 0; } }