function betterStates($state, $include = false)
    {
        static $states = array('snapshot', 'devel', 'alpha', 'beta', 'stable');
        $i = array_search($state, $states);
        if ($i === false) {
            return false;
        }
        if ($include) {
            $i--;
        }
        return array_slice($states, $i + 1);
    }
function betterStates($state, $include = false)
    {
        static $states = array('snapshot', 'devel', 'alpha', 'beta', 'stable');
        $i = array_search($state, $states);
        if ($i === false) {
            return false;
        }
        if ($include) {
            $i--;
        }
        return array_slice($states, $i + 1);
    }
function betterStates ( $ state , $ include = false ) { static $ states = array ( 'snapshot' , 'devel' , 'alpha' , 'beta' , 'stable' ) ; $ i = array_search ( $ state , $ states ) ; if ( $ i === false ) { return false ; } if ( $ include ) { $ i -- ; } return array_slice ( $ states , $ i + 1 ) ; }
Return an array containing all of the states that are more stable than
or equal to the passed in state

@param string Release state
@param boolean Determines whether to include $state in the list
@return false|array False if $state is not a valid release state
Return an array containing all of the states that are more stable than or equal to the passed in state