title: PHP anonymous function causes syntax error on some installations
body: <p>I have the following code:</p>
  
  <pre><code>    $file_check_method_func = function($n) {
          $n = absint($n);
          if(1 !== $n) { $n = 0; }
          return $n;
      };
      $valid['file_check_method'] = array_map($file_check_method_func, $input['file_check_method']);
  </code></pre>
  
  <p>This works on my PHP 5.3.5 installation but when I run this code on a PHP 5.2.15 installation I get:</p>
  
  <pre><code>Parse error: syntax error, unexpected T_FUNCTION in /home/xxxx/public_html/xxxx/xxxxxxx/wp-content/plugins/wordpress-file-monitor-plus/classes/wpfmp.settings.class.php on line 220
  </code></pre>
  
  <p>Line 220 being the first line of the above code.</p>
  
  <p>So my question(s), is there something wrongly written in my code that would give this error? If not is it because of a bug or not supported feature in PHP 5.2.15? If yes then how can I write the above code so not to generate the error?</p>
  
  <p>The above code is in a function in a class.</p>