3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $accessible = array(); $attributes = array('id', 'title', 'description', 'permalink', 'author_id', 'category_ids', 'pippo'); print_r(array_intersect($accessible, $attributes)); print_r(array_intersect($attributes, $accessible));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( ) Array ( )