Make sure the parameter is of correct type
Merge remote-tracking branch 'yii2/master'

* yii2/master:
  Remove reference to php 5.4-only constants in arrayhelper
  Fix unsupported flag in php 5.3.x environment [ArrayHelper::multisort]
  Fixed issue #7: ArrayHelper::multisort is not compatible with PHP 5.3
  Fixes issue #80
  Fixes issue #99.
  Code style fix
  Fixes #76
  example for using asArray
  phpdoc typos
  more on performance tuning
  Fixed VarDumper::dump for objects
  Use a string for the mode too
  Use AES-192 for encryption
revert changes
include addslashes / stripslashes to array helper