Fixes E_NOTICE when using array_diff with PHP 5.4
Merge pull request #1 from jian-wu/patch-1

Fixes E_NOTICE when using array_diff with PHP 5.4