classes/phing/util/DirectoryScanner.php
public static function removeDefaultExclude($s)
    {
        $key = array_search($s, self::$defaultExcludeList);

        if ($key !== false) {
            unset(self::$defaultExcludeList[$key]);
            self::$defaultExcludeList = array_values(self::$defaultExcludeList);
            return true;
        }

        return false;
    }
public static function removeDefaultExclude($s)
    {
        $key = array_search($s, self::$defaultExcludeList);

        if ($key !== false) {
            unset(self::$defaultExcludeList[$key]);
            self::$defaultExcludeList = array_values(self::$defaultExcludeList);
            return true;
        }

        return false;
    }
public static function removeDefaultExclude ( $ s ) { $ key = array_search ( $ s , self :: $ defaultExcludeList ) ; if ( $ key !== false ) { unset ( self :: $ defaultExcludeList [ $ key ] ) ; self :: $ defaultExcludeList = array_values ( self :: $ defaultExcludeList ) ; return true ; } return false ; }
Remove a string if it is a default exclude.

@param  string $s The string to attempt to remove.
@return boolean    <code>true</code> if <code>s</code> was a default
exclude (and thus was removed);
<code>false</code> if <code>s</code> was not
in the default excludes list to begin with.
Remove a string if it is a default exclude .