3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = array_filter([ 'hello', 'good bye', 'something something', ], function($value) { return $value == 'something something'; }); var_dump(key($test));
based on 3JKET
Output for 5.6.0 - 7.0.1, 7.0.3 - 7.3.0rc4
int(2)
Output for 7.0.2

Process exited with code 137.