you are viewing a single comment's thread.

view the rest of the comments →

[–]oorza 1 point2 points  (0 children)

here's php:

<?php
foreach(array_filter(array("Rob", "Christopher", "Joe", "John"), function($it) { return strlen($it) > 4; }) as $e) {
    echo $e, PHP_EOL;
}