3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $files1 = array('AAA', 'BBB', 'CcC'); function bbq( &$path ) { $path = strtolower($path); return true; } $files2 = array_filter($files1, '\\bbq'); var_dump($files1, $files2);
based on dp6Lt