3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $existsColumns = array('a', 'b', 'd'); $requireColumns = array('a', 'b', 'c'); print_r(array_diff($requireColumns, $existsColumns));
based on XFIn0
Output for 4.3.0 - 7.3.0rc6
Array ( [2] => c )