3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $changes = ['a', 'b']; $excludeFields = [ 'password' ]; $changedFields = array_keys($changes); var_dump(count(array_intersect($changedFields, $excludeFields)) !== 0);
based on 7XQDO
Output for 5.6.38 - 7.3.0rc3
bool(false)