Download this file
10 lines (8 with data), 177 Bytes
| <?php
// No docbloc needed, the function is anonymous
$var = function ($value = true) {
if (in_array($value, array('+', '-'))) {
return true;
}
};
echo $var('+');
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.